================
@@ -0,0 +1,286 @@
+// REQUIRES: x86
+// RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
+// RUN: ld.lld --branch-to-branch %t.o -shared -o %t
+// RUN: llvm-objdump -d --show-all-symbols %t | FileCheck %s
+// RUN: ld.lld -O2 %t.o -shared -o %t
+// RUN: llvm-objdump -d --show-all-symbols %t | FileCheck %s
+// RUN: ld.lld %t.o -shared -o %t
+// RUN: llvm-objdump -d --show-all-symbols %t | FileCheck --check-prefix=O0 %s
+
+// Mostly positive cases, except for f2.
----------------
MaskRay wrote:

Nit: In newer tests we prefer `# ` for directives/check-prefixes and `## ` for 
prose comments.

https://github.com/llvm/llvm-project/pull/147424
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to