[lld] [ELF] Making cdsort default for function reordering (PR #68638)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 9 23:48:44 PDT 2023


================
@@ -10,7 +10,7 @@
 # RUN: echo "F G 6" >> %t.call_graph
 # RUN: echo "G H 5" >> %t.call_graph
 # RUN: echo "H I 4" >> %t.call_graph
-# RUN: ld.lld -e A %t --call-graph-ordering-file %t.call_graph -o %t2
+# RUN: ld.lld -e A %t --call-graph-ordering-file %t.call_graph --call-graph-profile-sort=hfsort  -o %t2
----------------
MaskRay wrote:

excessive spaces before `-o`

https://github.com/llvm/llvm-project/pull/68638


More information about the llvm-commits mailing list