llvm/test/LTO/X86
Adrian Prantl 69e607f200 Canonicalize the representation of empty an expression in DIGlobalVariableExpression
This change simplifies code that has to deal with
DIGlobalVariableExpression and mirrors how we treat DIExpressions in
debug info intrinsics. Before this change there were two ways of
representing empty expressions on globals, a nullptr and an empty
!DIExpression().

If someone needs to upgrade out-of-tree testcases:
  perl -pi -e 's/(!DIGlobalVariableExpression\(var: ![0-9]*)\)/\1, expr: !DIExpression())/g' <MYTEST.ll>
will catch 95%.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312144 91177308-0d34-0410-b5e6-96231b3b80d8
2017-08-30 18:06:51 +00:00
..
Inputs Canonicalize the representation of empty an expression in DIGlobalVariableExpression 2017-08-30 18:06:51 +00:00
attrs.ll
bcsection.ll [llvm] Get rid of "%T" expansions 2017-08-15 20:29:24 +00:00
cfi_endproc.ll IR: Introduce local_unnamed_addr attribute. 2016-06-14 21:01:22 +00:00
current-section.ll Restore "[ThinLTO] Prevent exporting of locals used/defined in module level asm" 2016-11-14 17:12:32 +00:00
diagnostic-handler-noexit.ll
diagnostic-handler-remarks-with-hotness.ll Emit only A Single Opt Remark When Inlining 2017-08-21 16:45:47 +00:00
diagnostic-handler-remarks.ll Emit only A Single Opt Remark When Inlining 2017-08-21 16:45:47 +00:00
disable-verify.ll Refactor the InternalizePass into a helper class, and expose it through a public free function (NFC) 2016-04-13 05:25:08 +00:00
invalid.ll Add writeonly IR attribute 2016-07-04 08:01:29 +00:00
keep-used-puts-during-instcombine.ll
linkonce_odr_func.ll IR: Introduce local_unnamed_addr attribute. 2016-06-14 21:01:22 +00:00
list-symbols.ll [llvm] Get rid of "%T" expansions 2017-08-15 20:29:24 +00:00
lit.local.cfg
llvm-lto-output.ll
no-undefined-puts-when-implemented.ll [LTO] Reject modules without datalayout. 2016-12-14 21:57:04 +00:00
objc-detection-i386.ll Add a libLTO API to query a memory buffer and check if it contains ObjC categories 2016-07-11 23:10:18 +00:00
objc-detection.ll Add a libLTO API to query a memory buffer and check if it contains ObjC categories 2016-07-11 23:10:18 +00:00
parallel.ll
pr25919.ll
private-symbol.ll
remangle_intrinsics_tbaa.ll Implement intrinsic mangling for literal struct types. 2017-02-15 23:16:20 +00:00
remangle_intrinsics.ll Remangle intrinsics names when types are renamed 2016-06-24 15:10:29 +00:00
restore-externals.ll
runtime-library.ll
set-merged.ll Revert r265817 2016-04-08 18:15:37 +00:00
stdcall.ll LTO: Use the correct mangler function in LTOCodeGenerator::applyScopeRestrictions(). 2016-10-12 20:12:19 +00:00
strip-debug-info-no-call-loc.ll Add a testcase for r297072. 2017-03-07 02:49:57 +00:00
strip-debug-info.ll Revert "Revert "ThinLTO: Verify bitcode before lauching the ThinLTOCodeGenerator."" 2017-05-20 00:00:08 +00:00
symver-asm2.ll llvm-lto2: Move the LTO::run() action behind a subcommand. 2017-04-11 18:12:00 +00:00
symver-asm.ll llvm-lto2: Move the LTO::run() action behind a subcommand. 2017-04-11 18:12:00 +00:00
triple-init.ll [LTO] Reject modules without datalayout. 2016-12-14 21:57:04 +00:00
type-mapping-bug.ll Canonicalize the representation of empty an expression in DIGlobalVariableExpression 2017-08-30 18:06:51 +00:00
unnamed.ll LTO: Don't bother trying to mangle unnamed globals, as they can't be preserved with MustPreserveSymbols. 2016-04-27 23:48:11 +00:00