[llvm] 40a2454 - Add regular expressions to and DWARF Call Frame Information tests in case the architecture specific target is not compiled into LLVM.

Greg Clayton via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 7 14:27:31 PDT 2020


Author: Greg Clayton
Date: 2020-10-07T14:27:19-07:00
New Revision: 40a24541029357543ae47664a68a44710e6fee84

URL: https://github.com/llvm/llvm-project/commit/40a24541029357543ae47664a68a44710e6fee84
DIFF: https://github.com/llvm/llvm-project/commit/40a24541029357543ae47664a68a44710e6fee84.diff

LOG: Add regular expressions to and DWARF Call Frame Information tests in case the architecture specific target is not compiled into LLVM.

This should fix any build bots that avoid compiling some architectures into llvm after https://reviews.llvm.org/D88767.

Differential Revision: https://reviews.llvm.org/D88940

Added: 
    

Modified: 
    llvm/test/DebugInfo/dwarfdump-debug-frame-simple.test

Removed: 
    


################################################################################
diff  --git a/llvm/test/DebugInfo/dwarfdump-debug-frame-simple.test b/llvm/test/DebugInfo/dwarfdump-debug-frame-simple.test
index e6efb2b2234c..6c049af43efe 100644
--- a/llvm/test/DebugInfo/dwarfdump-debug-frame-simple.test
+++ b/llvm/test/DebugInfo/dwarfdump-debug-frame-simple.test
@@ -6,8 +6,8 @@
 
 ; FRAMES: 00000000 00000010 ffffffff CIE
 ; FRAMES: Version: 1
-; FRAMES:      DW_CFA_def_cfa: ESP +4
-; FRAMES-NEXT: DW_CFA_offset: EIP -4
+; FRAMES:      DW_CFA_def_cfa: {{reg4|ESP}} +4
+; FRAMES-NEXT: DW_CFA_offset: {{reg8|EIP}} -4
 ; FRAMES-NEXT: DW_CFA_nop:
 ; FRAMES-NEXT: DW_CFA_nop:
 
@@ -19,9 +19,9 @@
 ; FRAMES: 00000028 00000014 00000000 FDE cie=00000000 pc=00000030...00000080
 ; FRAMES:      DW_CFA_advance_loc: 1
 ; FRAMES-NEXT: DW_CFA_def_cfa_offset: +8
-; FRAMES-NEXT: DW_CFA_offset: EBP -8
+; FRAMES-NEXT: DW_CFA_offset: {{reg5|EBP}} -8
 ; FRAMES-NEXT: DW_CFA_advance_loc: 2
-; FRAMES-NEXT: DW_CFA_def_cfa_register: EBP
+; FRAMES-NEXT: DW_CFA_def_cfa_register: {{reg5|EBP}}
 
 ; FRAMES-NOT: CIE
 ; FRAMES-NOT: FDE


        


More information about the llvm-commits mailing list