[lld] [lld][ELF] Extend profile guided function ordering to ELF binaries (PR #117514)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 29 22:53:20 PST 2024
================
@@ -0,0 +1,336 @@
+# REQUIRES: aarch64
+
+# RUN: rm -rf %t && split-file %s %t
+# RUN: llvm-mc -filetype=obj -triple=aarch64 %t/a.s -o %t/a.o
+# RUN: llvm-profdata merge %t/a.proftext -o %t/a.profdata
+
+# The code below is the reduced version of the output
----------------
MaskRay wrote:
See https://llvm.org/docs/TestingGuide.html#elaborated-tests
you may want `-fno-exceptions -fno-rtti -fno-asynchronous-unwind-tables`
https://github.com/llvm/llvm-project/pull/117514
More information about the llvm-commits
mailing list