1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00
llvm-mirror/lib/Object
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
..
Archive.cpp Make 32-bit member offset in Archive::Symbol::getMember 64-bit 2017-10-27 21:47:38 +00:00
ArchiveWriter.cpp Add flag to ArchiveWriter to test GNU64 format more efficiently 2017-12-01 00:54:28 +00:00
Binary.cpp Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
CMakeLists.txt Bitcode: Write the irsymtab to disk. 2017-06-27 23:50:11 +00:00
COFFImportFile.cpp Fixed the gcc 'enumeral and non-enumeral type in conditional expression [-Werror=extra]' warning introduced by r320750 2017-12-15 22:15:29 +00:00
COFFModuleDefinition.cpp [COFF] Ignore semicolons in module definition identifiers 2017-12-06 19:18:24 +00:00
COFFObjectFile.cpp Fix many -Wsign-compare and -Wtautological-constant-compare warnings. 2017-12-14 22:07:03 +00:00
Decompressor.cpp Revert "[Decompression] Fail gracefully when out of memory" 2017-09-05 22:04:00 +00:00
ELF.cpp Silence a bunch of implicit fallthrough warnings 2017-12-19 22:05:25 +00:00
ELFObjectFile.cpp Make the ELFObjectFile constructor private. 2017-10-10 21:21:16 +00:00
Error.cpp Revert "[ADT] Make Twine's copy constructor private." 2017-10-11 23:54:34 +00:00
IRObjectFile.cpp Remove redundant includes from lib/Object. 2017-12-13 21:30:55 +00:00
IRSymtab.cpp Object: Improve COFF irsymtab comdat representation. 2017-11-21 22:06:20 +00:00
LLVMBuild.txt Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
MachOObjectFile.cpp Do not look up symbol names when n_strx == 0 2018-01-03 23:28:32 +00:00
MachOUniversal.cpp Fix a bugs with using some Mach-O command line flags like "-arch armv7m". 2016-12-16 22:54:02 +00:00
ModuleSymbolTable.cpp Don't pass the code model to MC 2017-08-02 20:32:26 +00:00
Object.cpp Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
ObjectFile.cpp Convert two uses of ErrorOr to Expected. 2017-10-10 20:00:07 +00:00
RecordStreamer.cpp [Object] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-04-24 23:21:38 +00:00
RecordStreamer.h [Object] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-04-24 23:21:38 +00:00
SymbolicFile.cpp Convert the last uses of ErrorOr in include/llvm/Object. 2017-10-11 18:07:18 +00:00
SymbolSize.cpp Fix llvm-symbolizer to correctly sort a symbol array and calculate symbol sizes 2016-11-15 21:07:03 +00:00
WasmObjectFile.cpp [WebAssembly] Remove debug names from symbol table 2018-01-17 19:28:43 +00:00
WindowsResource.cpp [Support] Add WritableMemoryBuffer::getNewMemBuffer 2018-01-09 17:26:06 +00:00