diff options
author | David Blaikie <dblaikie@gmail.com> | 2017-04-21 23:35:26 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2017-04-21 23:35:26 +0000 |
commit | 96b1ed50e879751637519b84a215255128b5dedd (patch) | |
tree | cec1a2012ed99922091255d7c343bda51dd6a1e6 /llvm/test/DebugInfo/X86/empty.ll | |
parent | 5b4293c7d968e0ef43503599fa5fdb6c16801e79 (diff) | |
download | bcm5719-llvm-96b1ed50e879751637519b84a215255128b5dedd.tar.gz bcm5719-llvm-96b1ed50e879751637519b84a215255128b5dedd.zip |
Move Split DWARF handling to an MC option/command line argument rather than using metadata
Since Split DWARF needs to name the actual .dwo file that is generated,
it can't be known at the time the llvm::Module is produced as it may be
merged with other Modules before the object is generated and that object
may be generated with any name.
By passing the Split DWARF file name when LLVM is producing object code
the .dwo file name in the object file can match correctly.
The support for Split DWARF for implicit modules remains the same -
using metadata to store the dwo name and dwo id so that potentially
multiple skeleton CUs referring to different dwo files can be generated
from one llvm::Module.
llvm-svn: 301062
Diffstat (limited to 'llvm/test/DebugInfo/X86/empty.ll')
-rw-r--r-- | llvm/test/DebugInfo/X86/empty.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/X86/empty.ll b/llvm/test/DebugInfo/X86/empty.ll index e156e3bbe5e..774b908adb3 100644 --- a/llvm/test/DebugInfo/X86/empty.ll +++ b/llvm/test/DebugInfo/X86/empty.ll @@ -1,5 +1,5 @@ ; RUN: llc -mtriple i686-pc-cygwin < %s -filetype=obj | llvm-dwarfdump - | FileCheck %s -; RUN: llc -mtriple i686-pc-cygwin -split-dwarf=Enable < %s -filetype=obj | llvm-dwarfdump - | FileCheck --check-prefix=FISSION %s +; RUN: llc -mtriple i686-pc-cygwin -split-dwarf-file=foo.dwo < %s -filetype=obj | llvm-dwarfdump - | FileCheck --check-prefix=FISSION %s ; Expect no line table entry since there are no functions and file references in this compile unit ; CHECK: .debug_line contents: |