1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test
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 [GlobalsAA] Don't let dbg intrinsics affect analysis result 2018-01-15 07:05:51 +00:00
Assembler Allow dso_local on ifunc. 2018-01-12 17:03:43 +00:00
Bindings
Bitcode Make internal/private GVs implicitly dso_local. 2018-01-11 22:15:05 +00:00
BugPoint
CodeGen Use a got to access a hidden weak undefined on MachO. 2018-01-17 19:19:55 +00:00
DebugInfo Don't emit apple accelerator tables on non-darwin targets 2018-01-17 11:52:13 +00:00
Examples
ExecutionEngine
Feature
FileCheck [FileCheck] - Fix possible buffer out of bounds access when parsing --check-prefix. 2018-01-16 08:09:24 +00:00
Instrumentation [hwasan] Rename sized load/store callbacks to be consistent with ASan. 2018-01-16 23:15:08 +00:00
Integer
JitListener
Linker Make internal/private GVs implicitly dso_local. 2018-01-11 22:15:05 +00:00
LTO Make internal/private GVs implicitly dso_local. 2018-01-11 22:15:05 +00:00
MC [WebAssembly] Remove debug names from symbol table 2018-01-17 19:28:43 +00:00
Object Allow unaligned access to ELF file data structures. 2018-01-12 22:09:19 +00:00
ObjectYAML [WebAssembly] Remove debug names from symbol table 2018-01-17 19:28:43 +00:00
Other [PowerPC] Add handling for ColdCC calling convention and a pass to mark 2018-01-17 18:22:55 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen [GlobalISel][TableGen] Add support for SDNodeXForm 2018-01-16 18:44:05 +00:00
ThinLTO/X86 Make internal/private GVs implicitly dso_local. 2018-01-11 22:15:05 +00:00
tools [WebAssembly] Remove debug names from symbol table 2018-01-17 19:28:43 +00:00
Transforms [InstCombine] add baseline tests for D39958; NFC 2018-01-17 19:04:18 +00:00
Unit
Verifier [NFC] Change MemIntrinsicInst::setAlignment() to take an unsigned instead of a Constant 2018-01-12 21:33:37 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh