llvm-project/llvm/test/tools/llvm-objdump/X86
Adrian Prantl bceaaa9643 [IR] Remove the DIExpression field from DIGlobalVariable.
This patch implements PR31013 by introducing a
DIGlobalVariableExpression that holds a pair of DIGlobalVariable and
DIExpression.

Currently, DIGlobalVariables holds a DIExpression. This is not the
best way to model this:

(1) The DIGlobalVariable should describe the source level variable,
    not how to get to its location.

(2) It makes it unsafe/hard to update the expressions when we call
    replaceExpression on the DIGLobalVariable.

(3) It makes it impossible to represent a global variable that is in
    more than one location (e.g., a variable with multiple
    DW_OP_LLVM_fragment-s).  We also moved away from attaching the
    DIExpression to DILocalVariable for the same reasons.

This reapplies r289902 with additional testcase upgrades and a change
to the Bitcode record for DIGlobalVariable, that makes upgrading the
old format unambiguous also for variables without DIExpressions.

<rdar://problem/29250149>
https://llvm.org/bugs/show_bug.cgi?id=31013
Differential Revision: https://reviews.llvm.org/D26769

llvm-svn: 290153
2016-12-20 02:09:43 +00:00
..
Inputs General clean up of Mach-O error handling in llvm-objdump. 2016-11-15 23:07:41 +00:00
coff-dis-internal.test
coff-disassemble-export.test Revert r265817 2016-04-08 18:15:37 +00:00
disassemble-code-data-mix.s llvm-objdump: ELF: Handle code and data mix in all scenarios 2016-08-25 19:41:08 +00:00
disassemble-data.test
disassembly-show-raw.test
hex-displacement.test Revert r265817 2016-04-08 18:15:37 +00:00
lit.local.cfg
macho-archive-headers.test
macho-cstring-dump.test
macho-dis-no-leading-addr.test Revert r265817 2016-04-08 18:15:37 +00:00
macho-dis-symname.test Fix llvm-objdump when disassembling a stripped Mach-O binary with the -macho option. 2016-06-15 21:14:01 +00:00
macho-disassembly-stripped.test Fix llvm-objdump when disassembling a stripped Mach-O binary with the -macho option. 2016-06-15 21:14:01 +00:00
macho-dylib.test Add to llvm-objdump the -no-leading-headers option with the use of the -macho option. 2016-11-29 21:43:40 +00:00
macho-indirect-symbols.test
macho-info-plist.test
macho-literal-pointers-i386.test
macho-literal-pointers-x86_64.test
macho-literals.test
macho-nontext-disasm.test Revert r265817 2016-04-08 18:15:37 +00:00
macho-objc-meta-data.test
macho-private-header.test
macho-private-headers.test Fix a bug in llvm-objdump for -private-headers printing the LC_CODE_SIGNATURE Mach-O load command. 2016-04-28 21:07:20 +00:00
macho-relocations.test
macho-section-contents.test
macho-section-headers.test
macho-section.test
macho-symbol-table.test
macho-symbolized-disassembly.test Add an c++ itanium demangler to llvm. 2016-09-06 19:16:48 +00:00
macho-symbolized-subtractor-i386.test
macho-symbolized-subtractor.test
macho-universal-x86_64.i386.test Update llvm-obdump(1) to print FAT_MAGIC_64 for Darwin’s 64-bit universal files 2016-06-21 21:55:01 +00:00
macho-unwind-info.test
malformed-machos.test General clean up of error handling in llvm-objdump to remove its use of report_fatal_error(). 2016-11-16 22:17:38 +00:00
out-of-section-sym.test
source-interleave-x86_64.ll [IR] Remove the DIExpression field from DIGlobalVariable. 2016-12-20 02:09:43 +00:00
start-stop-address.test Fix test failure in r281232 2016-09-12 17:40:10 +00:00
stubbed-dylib.test llvm-objdump: handle stubbed and malformed dylibs better 2016-07-14 22:13:32 +00:00
truncated-section.test llvm-objdump: handle stubbed and malformed dylibs better 2016-07-14 22:13:32 +00:00