OSDN Git Service

[WebAssembly] Ensure all .debug_XXX section has proper symbol names
authorSam Clegg <sbc@chromium.org>
Mon, 7 May 2018 19:40:50 +0000 (19:40 +0000)
committerSam Clegg <sbc@chromium.org>
Mon, 7 May 2018 19:40:50 +0000 (19:40 +0000)
commitb1872a26170672f04d1f47212a1c2502557f4b08
tree808477c3c654d9e55ea98c29b530e3c9aec4815e
parent409ea28c4744e4d5e3d122dbbef0fe3a08de6b82
[WebAssembly] Ensure all .debug_XXX section has proper symbol names

Updated wasm section symbols names to match section name, and ensure all
referenced sections will have a symbol (per DWARF spec v3, Figure 43)

Patch by Yury Delendik!

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@331664 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCObjectFileInfo.cpp
lib/MC/WasmObjectWriter.cpp