[llvm] r301073 - Fix test to handle .rel and .rela sections (& to actually specify the target architecture as X86)

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 22 01:17:39 PDT 2017


Author: dblaikie
Date: Sat Apr 22 03:17:39 2017
New Revision: 301073

URL: http://llvm.org/viewvc/llvm-project?rev=301073&view=rev
Log:
Fix test to handle .rel and .rela sections (& to actually specify the target architecture as X86)

Modified:
    llvm/trunk/test/DebugInfo/X86/split-dwarf-cross-unit-reference.ll

Modified: llvm/trunk/test/DebugInfo/X86/split-dwarf-cross-unit-reference.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/split-dwarf-cross-unit-reference.ll?rev=301073&r1=301072&r2=301073&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/X86/split-dwarf-cross-unit-reference.ll (original)
+++ llvm/trunk/test/DebugInfo/X86/split-dwarf-cross-unit-reference.ll Sat Apr 22 03:17:39 2017
@@ -1,13 +1,13 @@
-; RUN: llc -split-dwarf-file=foo.dwo -filetype=obj -o - < %s | llvm-objdump -r - | FileCheck %s
+; RUN: llc -mtriple=x86_64-linux -split-dwarf-file=foo.dwo -filetype=obj -o - < %s | llvm-objdump -r - | FileCheck %s
 
-; CHECK-NOT: .rela.debug_info.dwo
-; CHECK: RELOCATION RECORDS FOR [.rela.debug_info]:
+; CHECK-NOT: .rel{{a?}}.debug_info.dwo
+; CHECK: RELOCATION RECORDS FOR [.rel{{a?}}.debug_info]:
 ; CHECK-NOT: RELOCATION RECORDS
 ; Expect one relocation in debug_info, between f3 and f1.
 ; CHECK: R_X86_64_32 .debug_info
 ; CHECK-NOT: .debug_info
 ; CHECK: RELOCATION RECORDS
-; CHECK-NOT: .rela.debug_info.dwo
+; CHECK-NOT: .rel{{a?}}.debug_info.dwo
 
 
 ; Function Attrs: noinline nounwind optnone uwtable




More information about the llvm-commits mailing list