]> granicus.if.org Git - llvm/commit
[WebAssembly] Fix getSymbolValue() for data symbols
authorSam Clegg <sbc@chromium.org>
Thu, 31 Aug 2017 23:22:44 +0000 (23:22 +0000)
committerSam Clegg <sbc@chromium.org>
Thu, 31 Aug 2017 23:22:44 +0000 (23:22 +0000)
commit3ccf5513f6ce33a2a4b01cb9a5c1ad19e1787d52
tree46ed4dfa95760bc339b948adde40663293a8fb79
parent3df2f4a7e2a89a3fad3315519158357d10d4b729
[WebAssembly] Fix getSymbolValue() for data symbols

This is mostly a fix for the output of `llvm-nm`

See Bug 34392: https://bugs.llvm.org//show_bug.cgi?id=34392

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312294 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Object/WasmObjectFile.cpp
test/Object/nm-trivial-object.test
test/tools/llvm-nm/wasm/exports.yaml
test/tools/llvm-nm/wasm/weak-symbols.yaml
test/tools/llvm-objdump/WebAssembly/symbol-table.test