[PATCH] D124126: [MC][NFC] Ensure tests that intended to cover compact unwind code paths do so

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 20 15:11:51 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG9c4b2ff9cd3d: [MC][NFC] Ensure tests that intended to cover compact unwind code paths do so (authored by int3).

Changed prior to commit:
  https://reviews.llvm.org/D124126?vs=424027&id=424046#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124126/new/

https://reviews.llvm.org/D124126

Files:
  llvm/test/MC/X86/compact-unwind-cfi_def_cfa.s
  llvm/test/MC/X86/fp-setup-macho.s


Index: llvm/test/MC/X86/fp-setup-macho.s
===================================================================
--- llvm/test/MC/X86/fp-setup-macho.s
+++ llvm/test/MC/X86/fp-setup-macho.s
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple x86_64-apple-macho -filetype obj -o - %s | llvm-readobj --sections - | FileCheck %s
+// RUN: llvm-mc -triple x86_64-apple-macosx10.6 -filetype obj -o - %s | llvm-readobj --sections - | FileCheck %s
 
 _label:
 	.cfi_startproc
Index: llvm/test/MC/X86/compact-unwind-cfi_def_cfa.s
===================================================================
--- llvm/test/MC/X86/compact-unwind-cfi_def_cfa.s
+++ llvm/test/MC/X86/compact-unwind-cfi_def_cfa.s
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple x86_64-apple-darwin -filetype=obj %s -o - | llvm-readobj --sections - | FileCheck %s
+// RUN: llvm-mc -triple x86_64-apple-macosx10.6 -filetype=obj %s -o - | llvm-readobj --sections - | FileCheck %s
 
 // We were trying to generate compact unwind info for assembly like this.
 // The .cfi_def_cfa directive, however, throws a wrench into that and was
@@ -72,9 +72,9 @@
 // CHECK:   Index: 1
 // CHECK:   Name: __eh_frame (5F 5F 65 68 5F 66 72 61 6D 65 00 00 00 00 00 00)
 // CHECK:   Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
-// CHECK:   Address: 0x70
+// CHECK:   Address:
 // CHECK:   Size: 0x40
-// CHECK:   Offset: 480
+// CHECK:   Offset:
 // CHECK:   Alignment: 3
 // CHECK:   RelocationOffset: 0x0
 // CHECK:   RelocationCount: 0


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124126.424046.patch
Type: text/x-patch
Size: 1476 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220420/610b4e91/attachment.bin>


More information about the llvm-commits mailing list