OSDN Git Service

[WebAssembly] Create section start symbols automatically for all sections
authorSam Clegg <sbc@chromium.org>
Thu, 10 May 2018 17:38:35 +0000 (17:38 +0000)
committerSam Clegg <sbc@chromium.org>
Thu, 10 May 2018 17:38:35 +0000 (17:38 +0000)
commit70b76a172d4e8ac43ca9aa3ef2532663716cb340
treec87be93fb7a27295ef9e0810adf89f30e1d1a1fb
parentd681e1aa7b3d269de3f7c1d17951ca6afe38f246
[WebAssembly] Create section start symbols automatically for all sections

These symbols only get included in the output symbols table if
they are used in a relocation.

This behaviour matches more closely the ELF object writer.

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

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