1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/tools/obj2yaml
Sam Clegg b1a2c7d2eb [WebAssembly] Remove debug names from symbol table
Get rid of DEBUG_FUNCTION_NAME symbols. When we actually debug
data, maybe we'll want somewhere to put it... but having a symbol
that just stores the name of another symbol seems odd.
It means you have multiple Symbols with the same name, one
containing the actual function and another containing the name!

Store the names in a vector on the WasmObjectFile when reading
them in. Also stash them on the WasmFunctions themselves.
The names are //not// "symbol names" or aliases or anything,
they're just the name that a debugger should show against the
function body itself. NB. The WasmObjectFile stores them so that
they can be exported in the YAML losslessly, and hence the tests
can be precise.

Enforce that the CODE section has been read in before reading
the "names" section. Requires minor adjustment to some tests.

Patch by Nicholas Wilson!

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

llvm-svn: 322741
2018-01-17 19:28:43 +00:00
..
CMakeLists.txt Resubmit "[codeview] Make obj2yaml/yaml2obj support .debug$S..." 2017-06-14 15:59:27 +00:00
coff2yaml.cpp Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
dwarf2yaml.cpp Add missing file from r313884. 2017-09-21 15:32:05 +00:00
elf2yaml.cpp Instead of ELFFile<ELFT>::Type, use ELFT::Type. NFC. 2018-01-12 02:28:31 +00:00
Error.cpp Remove LLVM_NOEXCEPT and replace it with noexcept 2016-10-19 23:52:38 +00:00
Error.h
macho2yaml.cpp Use delegation instead of inheritance. 2017-07-19 22:27:28 +00:00
obj2yaml.cpp obj2yaml: Improve error reporting 2017-06-16 23:29:54 +00:00
obj2yaml.h Use delegation instead of inheritance. 2017-07-19 22:27:28 +00:00
wasm2yaml.cpp [WebAssembly] Remove debug names from symbol table 2018-01-17 19:28:43 +00:00