[llvm] r343886 - Avoid hardcoding PC addresses in a dwarf test
Vedant Kumar via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 5 14:05:32 PDT 2018
Author: vedantk
Date: Fri Oct 5 14:05:31 2018
New Revision: 343886
URL: http://llvm.org/viewvc/llvm-project?rev=343886&view=rev
Log:
Avoid hardcoding PC addresses in a dwarf test
The PCs appear to vary from builder-to-builder:
http://lab.llvm.org:8011/builders/clang-ppc64be-linux-lnt/builds/20053
Modified:
llvm/trunk/test/DebugInfo/X86/dwarf-callsite-related-attrs.ll
Modified: llvm/trunk/test/DebugInfo/X86/dwarf-callsite-related-attrs.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/dwarf-callsite-related-attrs.ll?rev=343886&r1=343885&r2=343886&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/X86/dwarf-callsite-related-attrs.ll (original)
+++ llvm/trunk/test/DebugInfo/X86/dwarf-callsite-related-attrs.ll Fri Oct 5 14:05:31 2018
@@ -54,13 +54,13 @@ entry:
; OBJ: DW_AT_name ("foo")
; OBJ: DW_TAG_call_site
; OBJ: DW_AT_call_origin ([[bar_sp]])
-; OBJ: DW_AT_call_return_pc ({{[0x]+}}26)
+; OBJ: DW_AT_call_return_pc
; OBJ: DW_TAG_call_site
; OBJ: DW_AT_call_origin ([[bat_sp]])
-; OBJ: DW_AT_call_return_pc ({{[0x]+}}2b)
+; OBJ: DW_AT_call_return_pc
; OBJ: DW_TAG_call_site
; OBJ: DW_AT_call_origin ([[bar_sp]])
-; OBJ: DW_AT_call_return_pc ({{[0x]+}}30)
+; OBJ: DW_AT_call_return_pc
; OBJ: DW_TAG_call_site
; OBJ: DW_AT_call_origin ([[bat_sp]])
; OBJ: DW_AT_call_tail_call
@@ -80,7 +80,7 @@ entry:
; OBJ: DW_AT_name ("main")
; OBJ: DW_TAG_call_site
; OBJ: DW_AT_call_origin ([[foo_sp]])
-; OBJ: DW_AT_call_return_pc ({{[0x]+}}46)
+; OBJ: DW_AT_call_return_pc
define i32 @main() !dbg !29 {
entry:
call void @_Z3foov(), !dbg !32
More information about the llvm-commits
mailing list