diff options
author | Eric Christopher <echristo@gmail.com> | 2014-02-14 01:26:55 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-02-14 01:26:55 +0000 |
commit | 5483012b4d4aef505272f1a310e5620a706a7b84 (patch) | |
tree | 1c5f4c70c8270342620608d21986e99f9fe57aab /test | |
parent | 5cb9925acd13d94e7462e26fc7d493e2af8996dd (diff) | |
download | llvm-5483012b4d4aef505272f1a310e5620a706a7b84.tar.gz llvm-5483012b4d4aef505272f1a310e5620a706a7b84.tar.bz2 llvm-5483012b4d4aef505272f1a310e5620a706a7b84.tar.xz |
Disable emission of aranges by default and add a command line
option to enable again that will be matched with a commit to enable
in clang.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201378 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/DebugInfo/X86/arange.ll | 4 | ||||
-rw-r--r-- | test/DebugInfo/X86/dwarf-aranges-no-dwarf-labels.ll | 2 | ||||
-rw-r--r-- | test/DebugInfo/X86/dwarf-aranges.ll | 2 | ||||
-rw-r--r-- | test/DebugInfo/X86/fission-cu.ll | 2 | ||||
-rw-r--r-- | test/DebugInfo/X86/multiple-aranges.ll | 2 |
5 files changed, 5 insertions, 7 deletions
diff --git a/test/DebugInfo/X86/arange.ll b/test/DebugInfo/X86/arange.ll index c797b5de79..4eea646968 100644 --- a/test/DebugInfo/X86/arange.ll +++ b/test/DebugInfo/X86/arange.ll @@ -1,7 +1,7 @@ ; REQUIRES: object-emission -; RUN: llc -mtriple=x86_64-linux -O0 -filetype=obj < %s | llvm-dwarfdump -debug-dump=aranges - | FileCheck %s -; RUN: llc -mtriple=x86_64-linux -O0 -filetype=obj < %s | llvm-readobj --relocations - | FileCheck --check-prefix=OBJ %s +; RUN: llc -mtriple=x86_64-linux -O0 -filetype=obj -generate-arange-section < %s | llvm-dwarfdump -debug-dump=aranges - | FileCheck %s +; RUN: llc -mtriple=x86_64-linux -O0 -filetype=obj -generate-arange-section < %s | llvm-readobj --relocations - | FileCheck --check-prefix=OBJ %s ; extern int i; ; template<int *x> diff --git a/test/DebugInfo/X86/dwarf-aranges-no-dwarf-labels.ll b/test/DebugInfo/X86/dwarf-aranges-no-dwarf-labels.ll index 29af6b215a..021b89e1e1 100644 --- a/test/DebugInfo/X86/dwarf-aranges-no-dwarf-labels.ll +++ b/test/DebugInfo/X86/dwarf-aranges-no-dwarf-labels.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s | FileCheck %s +; RUN: llc -generate-arange-section < %s | FileCheck %s ; CHECK: .short 2 # DWARF Arange version number ; CHECK: # Segment Size diff --git a/test/DebugInfo/X86/dwarf-aranges.ll b/test/DebugInfo/X86/dwarf-aranges.ll index b44a84a85a..f78e2172c4 100644 --- a/test/DebugInfo/X86/dwarf-aranges.ll +++ b/test/DebugInfo/X86/dwarf-aranges.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s | FileCheck %s +; RUN: llc -generate-arange-section < %s | FileCheck %s ; -- header -- diff --git a/test/DebugInfo/X86/fission-cu.ll b/test/DebugInfo/X86/fission-cu.ll index 85f007d71d..8acbced3d3 100644 --- a/test/DebugInfo/X86/fission-cu.ll +++ b/test/DebugInfo/X86/fission-cu.ll @@ -110,7 +110,5 @@ ; OBJ-NEXT: R_X86_64_32 .debug_addr ; OBJ-NEXT: R_X86_64_32 .debug_str ; OBJ-NEXT: } -; OBJ: .debug_aranges -; OBJ-NEXT: R_X86_64_32 .debug_info 0x0 !9 = metadata !{i32 1, metadata !"Debug Info Version", i32 1} diff --git a/test/DebugInfo/X86/multiple-aranges.ll b/test/DebugInfo/X86/multiple-aranges.ll index cd317a96f3..2da2938742 100644 --- a/test/DebugInfo/X86/multiple-aranges.ll +++ b/test/DebugInfo/X86/multiple-aranges.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s | FileCheck %s +; RUN: llc -generate-arange-section < %s | FileCheck %s ; First CU ; CHECK: .long 44 # Length of ARange Set |