[WebAssembly] MC: Add compile-twice test and fix corresponding bug
commit1838ee9182958461fb02820d68a345ffe31232b6
authorSam Clegg <sbc@chromium.org>
Wed, 30 May 2018 02:57:20 +0000 (30 02:57 +0000)
committerSam Clegg <sbc@chromium.org>
Wed, 30 May 2018 02:57:20 +0000 (30 02:57 +0000)
treeb18fb1b8282e0b2bee16bb6e2993deba5eaaab7a
parentc96b7cb00297b7bfe0221e2c2aa513df500a6482
[WebAssembly] MC: Add compile-twice test and fix corresponding bug

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333494 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCContext.cpp
lib/MC/WasmObjectWriter.cpp
test/MC/WebAssembly/compile-twice.ll [new file with mode: 0644]