llvm-project/llvm/test/DebugInfo
Keith Walker 94fac097ad [DebugInfo][ARM] Not readonly check for RWPI globals
When compiling for the RWPI relocation model [1], the debug information
is wrong for readonly global variables.

Writable global variables are accessed by the static base register (R9
on ARM) in the RWPI relocation model.  This is being correctly generated

Readonly global variables are not accessed by the static base register
in the RWPI relocation model. This case is incorrectly generating the
same debugging information as for writable global variables.

References:
[1] ARM Read-Write Position Independence: https://github.com/ARM-software/abi-aa/blob/main/aapcs32/aapcs32.rst#read-write-position-independence-rwpi

Differential Revision: https://reviews.llvm.org/D126361
2022-06-15 11:52:12 +01:00
..
AArch64 [DWARF] Support 'G' in dwarf parser 2022-06-08 14:27:51 -07:00
AMDGPU Revert "[DwarfDebug] Support emitting function-local declaration for a lexical block" & dependent patches 2021-12-24 00:47:04 +02:00
ARM [DebugInfo][ARM] Not readonly check for RWPI globals 2022-06-15 11:52:12 +01:00
BPF Revert "[DwarfDebug] Support emitting function-local declaration for a lexical block" & dependent patches 2021-12-24 00:47:04 +02:00
COFF [CodeView] Fix incorrect CodeView encoding of signed integer constants 2022-06-08 13:25:36 -04:00
CSKY [Object] Support relocation resolver for CSKY 2022-05-13 13:38:17 +08:00
Generic [NFC] XFAIL tests which need visibility in XCOFF objectwriting 2022-04-27 09:31:36 -04:00
Inputs [DWARF] Standardize checks and remove verbose where possible in DWARF tests 2021-10-31 09:49:10 -04:00
Lanai
MIR [DebugInfo][InstrRef] Describe value sizes when spilt to stack 2022-05-12 15:52:55 +01:00
MSP430 Revert "Round up zero-sized symbols to 1 byte in `.debug_aranges`." 2022-05-31 11:03:44 +02:00
Mips [LiveDebugValues][InstrRef][2/2] Emit entry value variable locations 2021-06-30 23:07:39 +01:00
NVPTX [FileCheck] Catch missspelled directives. 2022-05-26 11:37:19 +01:00
PDB [test] Avoid llvm-readelf/llvm-readobj one-dash long options and deprecated aliases (e.g. --file-headers) 2021-07-15 10:26:21 -07:00
PowerPC Revert "[DwarfDebug] Support emitting function-local declaration for a lexical block" & dependent patches 2021-12-24 00:47:04 +02:00
RISCV Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
Sparc [LiveDebugValues][InstrRef][2/2] Emit entry value variable locations 2021-06-30 23:07:39 +01:00
Symbolize/ELF [symbolizer] Parse DW_TAG_variable DIs to show line info for globals 2022-05-23 13:30:22 -07:00
SystemZ [SystemZ] Implement orderFrameObjects(). 2022-01-27 16:09:19 -06:00
WebAssembly [NFC] Rename Instrinsic to Intrinsic 2022-04-25 18:13:23 +01:00
X86 [PS5] Default to 'sce' debugger tuning 2022-06-14 15:28:28 -07:00
XCOFF [DebugInfo] Fix end_sequence of debug_line in LTO Object 2021-11-14 20:19:47 -08:00
XCore [Xcore] Set Int_MemBarrier as a meta-instruction 2022-03-19 17:52:37 +08:00
arange-overlap.test
arm-relocs.test
attr-btf_tag.ll Revert "[DwarfDebug] Support emitting function-local declaration for a lexical block" & dependent patches 2021-12-24 00:47:04 +02:00
attr-btf_type_tag.ll [NVPTX][tests] Do not run tests that require direct object generation 2022-03-22 16:46:48 +04:00
cDefaultLower.ll
check-debugify-preserves-analyses.ll
cross-cu-inlining.test
cross-cu-scope.ll [NFC] XFAIL tests which need visibility in XCOFF objectwriting 2022-04-27 09:31:36 -04:00
debug-frame-cie-pointer-reloc.test
debugify-bogus-dbg-value.ll [llvm] Inclusive language: replace master with main in file paths in LIT tests 2021-11-08 12:39:50 -06:00
debugify-each.ll [Debugify] Skip debugifying on special/immutable passes 2020-11-16 20:39:46 -08:00
debugify-export.ll [Debugify] Skip debugifying on special/immutable passes 2020-11-16 20:39:46 -08:00
debugify-ignore-phi.ll [Transforms][Debugify] Fix "Missing line" false alarm on PHI nodes 2021-05-14 14:06:13 +02:00
debugify-original-no-dbg-info.ll Reland "[Debugify] Make the debugify aware of the original (-g) Debug Info" 2021-02-18 23:29:22 -08:00
debugify-report-missing-locs-only.ll
debugify.ll [DIBuilder] Do not replace empty enum types 2021-08-30 12:33:03 -07:00
debuglineinfo-macho.test
debuglineinfo-path.ll [tests] Make 'object-emission' imply 'default_triple' 2022-03-22 16:46:48 +04:00
debuglineinfo.test
debugmacinfo-dwo.test
debugmacinfo.test
duplicate_dbgvalue.ll
dwarfdump-16bit-addr.test
dwarfdump-accel.test
dwarfdump-bad-lookup-address.test
dwarfdump-dataLocationExp.ll
dwarfdump-dataLocationVar.ll
dwarfdump-debug-frame-simple.test Add regular expressions to and DWARF Call Frame Information tests in case the architecture specific target is not compiled into LLVM. 2020-10-07 14:27:19 -07:00
dwarfdump-decompression-corrupt.test
dwarfdump-decompression-error.test
dwarfdump-dump-flags.test
dwarfdump-dump-gdbindex.test
dwarfdump-dwp.test
dwarfdump-immutable.ll [NVPTX][tests] Do not run tests that require direct object generation 2022-03-22 16:46:48 +04:00
dwarfdump-implicit-const.test
dwarfdump-macho-relocs.test
dwarfdump-macho-universal.test
dwarfdump-objc.test
dwarfdump-pubnames.test
dwarfdump-pushobjectaddress.ll
dwarfdump-ranges.test
dwarfdump-type-units.test llvm-dwarfdump --summarize-types: skip compilation units 2022-01-05 20:36:04 -08:00
dwarfdump-zlib.test
dwo.ll [tests] Make 'object-emission' imply 'default_triple' 2022-03-22 16:46:48 +04:00
fortran-string-type.ll [DebugInfo] Add stringLocationExp field to DIStringType 2022-01-26 11:56:57 -05:00
fortranDefaultLower.ll
fortranSubrangeCountExpr.ll [DebugInfo] Upgrade DISubragne::count to accept DIExpression also 2021-03-30 09:16:55 +05:30
fortranSubrangeExpr.ll
fortranSubrangeInt.ll
fortranSubrangeVar.ll [NFCI] Fixed missing colon in CHECK directives - part 2 2022-04-03 14:42:59 +02:00
gcc-local-mem-func.test
high-pc-constant.test
implicit-const-test2.s llvm-dwarfdump: Fix DWARF-5 DW_FORM_implicit_const (used by GCC) 2021-03-09 09:26:58 +01:00
invalid-inlined-subroutine.s Fix a crash in DWARFUnit::getInlinedChainForAddress in case of unexpected DWARF information. 2021-03-09 14:20:27 +04:00
invalid-relocations.test
limit-arglist-size.ll Partial Reapply "[DebugInfo] Use variadic debug values to salvage BinOps and GEP instrs with non-const operands" 2021-06-24 09:46:38 +01:00
llvm-symbolizer-bbsections-test.s Recommit D91678 after fixing the test breakage. 2021-01-09 17:44:12 -08:00
macro_link.ll
member-pointers.o
missing-abstract-variable.o
omit-empty.ll [tests] Make 'object-emission' imply 'default_triple' 2022-03-22 16:46:48 +04:00
pr34186.ll
pr34672.ll
pr37964.ll [NFC] Rename GVN -> GVNPass and SROA -> SROAPass 2021-11-09 10:35:58 -08:00
precomp.test
salvage-cast-debug-info.ll
salvage-duplicate-values.ll Reapply "[DebugInfo] Enable variadic debug value salvaging" 2021-07-15 12:54:51 +01:00
salvage-gep.ll [DebugInfo] Correctly handle arrays with 0-width elements in GEP salvaging 2021-10-18 12:01:12 +01:00
salvage-limit-expr-size.ll [DebugInfo] Limit the size of DIExpressions that we will salvage up to 2021-10-15 17:34:21 +01:00
salvage-nonconst-binop.ll Reapply "[DebugInfo] Enable variadic debug value salvaging" 2021-07-15 12:54:51 +01:00
simplify-cfg-preserve-dbg-values.ll
skeletoncu.ll [tests] Make 'object-emission' imply 'default_triple' 2022-03-22 16:46:48 +04:00
strip-DIGlobalVariable.ll
strip-loop-metadata.ll
strip-module-flags.ll
symbolize-64bit-address.test
symbolize-absolute-path-in-debug-line.s
symbolize-build-id-error.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
symbolize-build-id.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
symbolize-demangling.s [Symbolize] Demangle Rust symbols 2021-10-16 13:32:17 +02:00
symbolize-directory.s
symbolize-gnu-debuglink-fallback.test
symbolize-gnu-debuglink-no-realpath.test
symbolize-gnu-debuglink.test
symbolize-inlined.test
symbolize-macho-universal-unknown-arch.test Revert several changes related to llvm-symbolizer exiting non-zero on failure. 2020-10-21 15:21:44 -07:00
symbolize-macho-universal.test
symbolize-missing-file.test [test] Use host platform specific error message substitution in lit tests 2021-01-29 07:16:30 -05:00
symbolize-no-debug-str.test
symbolize-paths.s
symbolize-shared-abbrev.s
symbolize-split-dwarf-empty.test
symbolize-split-dwarf-no-skel-address.test
symbolize-stripped-sections.test
symbolize-stripped.test
symbolize-tu.test
symbolize-zlib.test
symbolize.test
typeunit-header.test
unrolled-loop-remainder.ll [runtime-unroll] Use incrementing IVs instead of decrementing ones 2021-11-12 15:44:58 -08:00