1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/DebugInfo/Symbolize/ELF
Fangrui Song 73df85ab79 [RISCV] Make empty name symbols SF_FormatSpecific so that llvm-symbolizer ignores them for symbolization
On RISC-V, clang emits empty name symbols used for label differences. (In GCC the symbols are typically `.L0`)
After D95916, the empty name symbols can show up in llvm-symbolizer's symbolization output.
They have no names and thus not useful. Set `SF_FormatSpecific` so that llvm-symbolizer will ignore them.

`SF_FormatSpecific` is also used in LTO but that case should not matter.

Corresponding addr2line problem: https://sourceware.org/bugzilla/show_bug.cgi?id=27585

Reviewed By: luismarques

Differential Revision: https://reviews.llvm.org/D98669
2021-03-16 14:12:18 -07:00
..
arm-mapping-symbol.s DebugInfo/Symbolize: Exclude ARM mapping symbols for .symtab symbolization after D95916 2021-02-12 11:04:20 -08:00
data-command-symtab.yaml DebugInfo/Symbolize: Don't differentiate function/data symbolization 2021-02-11 19:22:44 -08:00
riscv-empty-name-symbol.s [RISCV] Make empty name symbols SF_FormatSpecific so that llvm-symbolizer ignores them for symbolization 2021-03-16 14:12:18 -07:00
symtab-file2.yaml DebugInfo/Symbolize: Retrieve filename from the preceding STT_FILE for .symtab symbolization 2021-02-10 09:47:10 -08:00
symtab-file-conflict.s DebugInfo/Symbolize: Retrieve filename from the preceding STT_FILE for .symtab symbolization 2021-02-10 09:47:10 -08:00
symtab-file.s DebugInfo/Symbolize: Retrieve filename from the preceding STT_FILE for .symtab symbolization 2021-02-10 09:47:10 -08:00
symtab-ifunc.s [test] Drop redundant REQUIRES: x86-registered-target 2021-02-08 23:36:37 -08:00
symtab-ignored.s DebugInfo/Symbolize: Retrieve filename from the preceding STT_FILE for .symtab symbolization 2021-02-10 09:47:10 -08:00
symtab-notype.s DebugInfo/Symbolize: Retrieve filename from the preceding STT_FILE for .symtab symbolization 2021-02-10 09:47:10 -08:00