1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/lib
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
..
Analysis [PowerPC] Add handling for ColdCC calling convention and a pass to mark 2018-01-17 18:22:55 +00:00
AsmParser Allow dso_local on ifunc. 2018-01-12 17:03:43 +00:00
BinaryFormat
Bitcode [NFC] fix trivial typos in comments 2018-01-17 12:29:38 +00:00
CodeGen [ARM GlobalISel] Legalize G_FPEXT and G_FPTRUNC 2018-01-17 13:34:10 +00:00
DebugInfo Fix pretty printing the unspecified param of a variadic function 2018-01-17 01:22:03 +00:00
Demangle Silence a bunch of implicit fallthrough warnings 2017-12-19 22:05:25 +00:00
ExecutionEngine [ExecutionEngine] Rename JITSymbol::isStrongDefinition to isStrong. 2018-01-16 20:39:51 +00:00
Fuzzer
FuzzMutate [FuzzMutate] Don't crash when mutator is unable to find operation 2017-12-19 08:52:51 +00:00
IR [Attributes] Fix crash when attempting to remove alignment from an attribute list/set 2018-01-17 19:15:21 +00:00
IRReader Remove redundant includes from various places. 2017-12-13 21:31:03 +00:00
LineEditor
Linker Fix crash when linking metadata with ODR type uniquing 2018-01-09 18:32:53 +00:00
LTO [ThinLTO] - Remove code duplication. NFC. 2018-01-17 10:33:05 +00:00
MC [WebAssembly] Remove debug names from symbol table 2018-01-17 19:28:43 +00:00
Object [WebAssembly] Remove debug names from symbol table 2018-01-17 19:28:43 +00:00
ObjectYAML [WebAssembly] Add COMDAT support 2018-01-09 23:43:14 +00:00
Option [Option] For typo '-foo', suggest '--foo' 2018-01-09 19:38:04 +00:00
Passes Add a pass to generate synthetic function entry counts. 2018-01-09 19:39:35 +00:00
ProfileData Remove superfluous copies in sample profiling. 2017-12-28 18:10:41 +00:00
Support [Support] Return an enum instead of an unsigned; NFC. 2018-01-17 03:12:06 +00:00
TableGen Avoid int to string conversion in Twine or raw_ostream contexts. 2017-12-28 16:58:54 +00:00
Target Use a got to access a hidden weak undefined on MachO. 2018-01-17 19:19:55 +00:00
Testing
ToolDrivers Remove redundant includes from various places. 2017-12-13 21:31:03 +00:00
Transforms [PowerPC] Add handling for ColdCC calling convention and a pass to mark 2018-01-17 18:22:55 +00:00
WindowsManifest
XRay
CMakeLists.txt
LLVMBuild.txt