[PATCH] D130393: [lld-macho] Check in test case for PR/56576

Vy Nguyen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 22 13:03:20 PDT 2022


oontvoo created this revision.
oontvoo added a reviewer: int3.
Herald added projects: lld-macho, All.
Herald added a reviewer: lld-macho.
oontvoo requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

DO_NOT_SUBMIT (yet)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130393

Files:
  lld/test/MachO/eh_frame_bug.s


Index: lld/test/MachO/eh_frame_bug.s
===================================================================
--- /dev/null
+++ lld/test/MachO/eh_frame_bug.s
@@ -0,0 +1,30 @@
+# REQUIRES: x86
+# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t.o
+# RUN: %lld %t.o -o %.out
+
+.globl  _main
+_main:
+  retq
+
+.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
+EHFrame0:
+ .balign 8
+LCIE:
+ .set Lset0,LECIE-LSCIE
+ .long Lset0
+LSCIE:
+ .long 0
+ .byte 1
+ .ascii "zR\0"
+ .byte 1
+ .byte 1
+ .byte 1
+ .byte 1
+ .byte 1
+ .byte 1
+ .byte 0x80+16, 1
+
+ .balign 8
+LECIE:
+
+ .subsections_via_symbols


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130393.446951.patch
Type: text/x-patch
Size: 637 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220722/40ce92dd/attachment.bin>


More information about the llvm-commits mailing list