================
@@ -0,0 +1,73 @@
+; Tests that we store the type identifiers in .callgraph section of the binary.
+
+; RUN: llc --call-graph-section -filetype=obj -o - < %s | \
+; RUN: llvm-readelf -x .callgraph - | FileCheck %s
+
+target triple = "x86_64-unknown-linux-gnu"
----------------
ilovepi wrote:

You shouldn't need the triple, since you can set those details in the `llc` 
command. I'm not totally sure you even need to specify though, since I think 
the support works regardless of the target, right? or is this an ELF only 
feature?  

If you do need to test some arch specific things, then the test probably needs 
either a "REQUIRES: ` line for the target arch, or to be in a arch specific 
folder.

https://github.com/llvm/llvm-project/pull/87576
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to