summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/X86/split-dwarf-cross-unit-reference.ll
Commit message (Collapse)AuthorAgeFilesLines
* DWARF: Avoid cross-CU references under FissionDavid Blaikie2017-05-121-25/+173
| | | | | | | | | | | | | | | | | | Turns out that the Fission/Split DWARF package format (DWP) is currently insufficient to handle cross-CU (ref_addr) references. So for now, duplicate any debug info needed in these situations: * inlined_subroutine's abstract_origin * inlined variable's abstract_origin * types Keep the ref_addr behavior in general, including in the split DWARF inline debug info that can be emitted into the object files for online symbolication. Keep a flag to use the old (ref_addr) behavior for testing ways of addressing this limitation in the DWP tool (& for those not using DWP packaging). llvm-svn: 302858
* Fix test to handle .rel and .rela sections (& to actually specify the target ↵David Blaikie2017-04-221-4/+4
| | | | | | architecture as X86) llvm-svn: 301073
* Avoid using relocations for ref_addr in .dwo filesDavid Blaikie2017-04-221-0/+46
In dwo files the fixed offset can be used - if the dwos are linked into a dwp, the dwo consumer must use the dwp tables to find out where the original range of the debug_info was and resolve the "section relative" value relative to that original range - effectively avoiding/reimplementing the relocation handling. llvm-svn: 301072
OpenPOWER on IntegriCloud