[WebAssebmly] Remove reloc ordering constraint
commit068c05aeb45daf1fde27c80925b5fcd4ec1d88a3
authorSam Clegg <sbc@chromium.org>
Tue, 6 Mar 2018 07:13:10 +0000 (6 07:13 +0000)
committerSam Clegg <sbc@chromium.org>
Tue, 6 Mar 2018 07:13:10 +0000 (6 07:13 +0000)
treeffbb53d3d77c29f3bfbfc522e27ee58064488fbc
parentea4dd0b9197d95bd52b54f18666bdd8ff60238af
[WebAssebmly] Remove reloc ordering constraint

The MC layer doesn't currently emit relocations in offset
order for the entire code section so this check was causing
failures on the wasm waterfall.

Perhaps we can re-instate this check if we divide the relocations
per-function, or add extra ordering the MC object writer.

Differential Revision: https://reviews.llvm.org/D44136

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326765 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Object/WasmObjectFile.cpp