[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 20:52:58 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG96fb7d059da1: [lld-macho][test] Add test for UUID format (authored by int3).

Changed prior to commit:
  https://reviews.llvm.org/D118646?vs=404690&id=404804#toc

Repository:
  rG LLVM Github Monorepo

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

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:]]{12})}} (x86_64)
+
+.globl _main
+_main:
+  ret


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118646.404804.patch
Type: text/x-patch
Size: 472 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220201/58a2ddb2/attachment.bin>


More information about the llvm-commits mailing list