1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/DebugInfo
James Henderson 4949c8df9b [llvm-symbolizer] Improve compatibility of --functions with GNU addr2line
This fixes https://bugs.llvm.org/show_bug.cgi?id=40072.

GNU addr2line's --functions switch is off by default, has a short alias
of -f, and does not take an argument. This patch changes llvm-symbolizer
to allow the second and third point (changing the default behaviour may
have negative impacts on users). If the option is missing a value, it
now treats it as "linkage".

This change does cause one previously valid command-line to behave
differently. Before --functions <value> was accepted, but now only
--functions=<value> is allowed (as well as --functions). The old
behaviour will result in the value being treated as a positional
argument.

The previous testing for --functions=short has been pulled out into a
new test that also tests the other accepted values and option formats.

Reviewed by: ruiu

Differential Revision: https://reviews.llvm.org/D57049

llvm-svn: 351968
2019-01-23 17:27:48 +00:00
..
AArch64 Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
AMDGPU
ARM Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
COFF [CodeView] Allow empty types in member functions 2019-01-23 00:53:22 +00:00
Generic Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
Inputs Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
Lanai
Mips Replace "no-frame-pointer-*" function attributes with "frame-pointer" 2019-01-14 10:55:55 +00:00
MIR [Test] Fix debug-loc-0.mir with EXPENSIVE_CHECKS 2019-01-17 18:35:14 +00:00
MSP430
NVPTX Revert "[DEBUGINFO, NVPTX] Enable support for the debug info on NVPTX target." 2019-01-23 16:39:57 +00:00
PDB
PowerPC
RISCV
Sparc Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
SystemZ Replace "no-frame-pointer-*" function attributes with "frame-pointer" 2019-01-14 10:55:55 +00:00
WebAssembly [WebAssembly] Fix updating/moving DBG_VALUEs in RegStackify 2019-01-15 18:14:12 +00:00
X86 [DebugInfo] Allow creation of DBG_VALUEs in blocks where the operand is not used 2019-01-16 17:25:27 +00:00
arm-relocs.test
check-debugify-preserves-analyses.ll
cross-cu-scope.ll
debugify-bogus-dbg-value.ll
debugify-each.ll
debugify-export.ll
debugify-report-missing-locs-only.ll
debugify.ll
debuglineinfo-macho.test
debuglineinfo-path.ll
debuglineinfo.test Reapply: DebugInfo: Assume an absence of ranges or high_pc on a CU means the CU is empty (devoid of code addresses) 2018-12-21 22:25:01 +00:00
debugmacinfo.test
dwarfdump-64-bit-dwarf.test
dwarfdump-accel.test
dwarfdump-debug-frame-simple.test
dwarfdump-decompression-corrupt.test
dwarfdump-decompression-error.test
dwarfdump-dump-flags.test
dwarfdump-dump-gdbindex.test
dwarfdump-dwp.test
dwarfdump-implicit-const.test
dwarfdump-invalid-line-table.test
dwarfdump-invalid.test
dwarfdump-macho-relocs.test
dwarfdump-macho-universal.test
dwarfdump-objc.test
dwarfdump-pubnames.test
dwarfdump-ranges.test
dwarfdump-type-units.test
dwarfdump-zlib.test
dwo.ll
invalid-relocations.test
llvm-symbolizer-split-dwarf-empty.test
llvm-symbolizer-split-dwarf-no-skel-address.test Reapply: DebugInfo: Assume an absence of ranges or high_pc on a CU means the CU is empty (devoid of code addresses) 2018-12-21 22:25:01 +00:00
llvm-symbolizer-tu.test
llvm-symbolizer-zlib.test
llvm-symbolizer.test [llvm-symbolizer] Improve compatibility of --functions with GNU addr2line 2019-01-23 17:27:48 +00:00
macro_link.ll
member-pointers.o
missing-abstract-variable.o
omit-empty.ll
pr34186.ll
pr34672.ll
precomp.test
skeletoncu.ll
strip-DIGlobalVariable.ll
strip-loop-metadata.ll
strip-module-flags.ll
typeunit-header.test
unrolled-loop-remainder.ll Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00