1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/include/llvm/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.h Rename K_MIPS64 to K_GNU64 2017-09-20 18:23:01 +00:00
ArchiveWriter.h Convert the archive writer to use Error. 2017-09-21 23:13:36 +00:00
Binary.h [llvm-readobj] Teach readobj to dump .res files (WindowsResource). 2017-09-20 18:33:35 +00:00
COFF.h Fix many -Wsign-compare and -Wtautological-constant-compare warnings. 2017-12-14 22:07:03 +00:00
COFFImportFile.h Convert the archive writer to use Error. 2017-09-21 23:13:36 +00:00
COFFModuleDefinition.h Object: preserve more information about DEF file 2017-07-19 02:01:22 +00:00
Decompressor.h Revert "[Decompression] Fail gracefully when out of memory" 2017-09-05 22:04:00 +00:00
ELF.h Use ELF{32,64}{LE,BE} instead of ELFType<{little,big}, {true,false}>. NFC. 2018-01-12 01:40:32 +00:00
ELFObjectFile.h Instead of ELFFile<ELFT>::Type, use ELFT::Type. NFC. 2018-01-12 02:28:31 +00:00
ELFTypes.h Allow unaligned access to ELF file data structures. 2018-01-12 22:09:19 +00:00
Error.h Revert "[ADT] Make Twine's copy constructor private." 2017-10-11 23:54:34 +00:00
IRObjectFile.h Convert the last uses of ErrorOr in include/llvm/Object. 2017-10-11 18:07:18 +00:00
IRSymtab.h [LTO] Prevent dead stripping and internalization of symbols with sections 2017-07-25 19:42:32 +00:00
MachO.h Updated llvm-objdump to display local relocations in Mach-O binaries 2017-12-15 17:57:40 +00:00
MachOUniversal.h Remove inline keyword from inline classof methods 2017-06-29 19:35:17 +00:00
ModuleSymbolTable.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
ObjectFile.h Fix many -Wsign-compare and -Wtautological-constant-compare warnings. 2017-12-14 22:07:03 +00:00
RelocVisitor.h Fix many -Wsign-compare and -Wtautological-constant-compare warnings. 2017-12-14 22:07:03 +00:00
StackMapParser.h Prune whitespaces in blank lines. 2017-08-28 07:48:37 +00:00
SymbolicFile.h Remove inline keyword from inline classof methods 2017-06-29 19:35:17 +00:00
SymbolSize.h Fix llvm-symbolizer to correctly sort a symbol array and calculate symbol sizes 2016-11-15 21:07:03 +00:00
Wasm.h [WebAssembly] Remove debug names from symbol table 2018-01-17 19:28:43 +00:00
WindowsResource.h Fix warnings discovered by rL317076. [-Wunused-private-field] 2017-11-01 13:47:55 +00:00