1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/include/llvm
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
..
ADT Add a value_type to ArrayRef. 2018-01-16 09:11:20 +00:00
Analysis [PowerPC] Add handling for ColdCC calling convention and a pass to mark 2018-01-17 18:22:55 +00:00
AsmParser Move the stripping of invalid debug info from the Verifier to AutoUpgrade. 2017-10-02 18:31:29 +00:00
BinaryFormat [WebAssembly] Remove debug names from symbol table 2018-01-17 19:28:43 +00:00
Bitcode Hardware-assisted AddressSanitizer (llvm part). 2017-12-09 00:21:41 +00:00
CodeGen [GlobalISel][TableGen] Add support for SDNodeXForm 2018-01-16 18:44:05 +00:00
Config [dump] Make LLVM_ENABLE_DUMP independent, and move to llvm-config.h 2017-12-07 22:55:40 +00:00
DebugInfo Fix pretty printing the unspecified param of a variadic function 2018-01-17 01:22:03 +00:00
Demangle
ExecutionEngine [ExecutionEngine] Rename JITSymbol::isStrongDefinition to isStrong. 2018-01-16 20:39:51 +00:00
FuzzMutate [FuzzMutate] Avoid using swifterror as a source operand 2018-01-11 14:43:05 +00:00
IR [AMDGPU] add LDS f32 intrinsics 2018-01-17 14:05:05 +00:00
IRReader Move the stripping of invalid debug info from the Verifier to AutoUpgrade. 2017-10-02 18:31:29 +00:00
LineEditor
Linker [Linker] Provide callback for internalization 2017-03-13 18:08:11 +00:00
LTO [ThinLTO][CachePruning] explicitly disable pruning 2017-12-22 18:32:15 +00:00
MC MC: Remove redundant SetUsed arguments in MCSymbol methods 2018-01-12 18:05:40 +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 [COFF] Process /EXPORT option in fastpath 2018-01-09 20:36:42 +00:00
Passes Refactor the build{Module|Function}SimplificationPipeline to expose optimization phase. 2017-07-30 04:55:39 +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 [TableGen] Give the option of tolerating duplicate register names 2017-12-07 09:51:55 +00:00
Target [GlobalISel][TableGen] Add support for SDNodeXForm 2018-01-16 18:44:05 +00:00
Testing/Support [Testing/Support] Make the HasValue matcher composable 2017-12-13 10:00:38 +00:00
ToolDrivers llvm: add llvm-dlltool support to the archiver 2017-07-18 21:26:38 +00:00
Transforms [JumpThreading] Preservation of DT and LVI across the pass 2018-01-12 21:06:48 +00:00
WindowsManifest Fix bug 34608 by moving private header out of public header. 2017-09-14 23:01:13 +00:00
WindowsResource [llvm-readobj] Teach readobj to dump .res files (WindowsResource). 2017-09-20 18:33:35 +00:00
XRay XRayRecord.h: Add missing #include 2017-11-21 00:23:19 +00:00
CMakeLists.txt Support: Add a VCSRevision.h header file. 2017-04-13 01:26:12 +00:00
InitializePasses.h [PM] port Rewrite Statepoints For GC to the new pass manager. 2017-12-15 09:32:11 +00:00
LinkAllIR.h Sink some IntrinsicInst.h and Intrinsics.h out of llvm/include 2017-09-07 23:27:44 +00:00
LinkAllPasses.h Rename CountingFunctionInserter and use for both mcount and cygprofile calls, before and after inlining 2017-11-14 21:09:45 +00:00
module.modulemap [WebAssembly] Remove unneeded sub-directory 2017-12-21 03:16:34 +00:00
module.modulemap.build [Modules] Add module for Config/llvm-config.h 2017-10-24 06:18:52 +00:00
Pass.h IR printing improvement for function passes - introducing -print-module-scope 2017-12-01 17:42:46 +00:00
PassAnalysisSupport.h Add a few missing headers for modularization/IWYU/etc 2017-10-27 22:12:46 +00:00
PassInfo.h [Pass] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-09-06 23:05:38 +00:00
PassRegistry.h [Pass] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-09-06 23:05:38 +00:00
PassSupport.h [Pass] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-09-06 23:05:38 +00:00