[PATCH] D118646: [lld-macho][test] Add test for UUID format
Jez Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 31 12:58:27 PST 2022
int3 created this revision.
int3 added a reviewer: lld-macho.
Herald added a project: lld-macho.
int3 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D118646
Files:
lld/test/MachO/uuid.s
Index: lld/test/MachO/uuid.s
===================================================================
--- /dev/null
+++ lld/test/MachO/uuid.s
@@ -0,0 +1,9 @@
+# REQUIRES: x86
+# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t.o
+# RUN: %lld -lSystem %t.o -o %t
+# RUN: llvm-dwarfdump --uuid %t | FileCheck %s
+# CHECK: 4C4C44{{([[:xdigit:]]{2})}}-5555-{{([[:xdigit:]]{4})}}-A1{{([[:xdigit:]]{2})}}-{{([[:xdigit:]]{8})}}
+
+.globl _main
+_main:
+ ret
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118646.404690.patch
Type: text/x-patch
Size: 462 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220131/197e70e4/attachment.bin>
More information about the llvm-commits
mailing list