[llvm-branch-commits] [llvm] [llvm][AsmPrinter] Emit call graph section (PR #87576)
Paul Kirth via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jul 24 17:01:02 PDT 2025
================
@@ -1,40 +1,43 @@
;; Test if temporary labels are generated for each indirect callsite with a callee_type metadata.
-;; Test if the .callgraph section contains the numerical callee type id for each of the temporary
-;; labels generated.
+;; Test if the .callgraph section contains the MD5 hash of callee type ids generated from
+;; generalized type id strings.
; RUN: llc -mtriple=x86_64-unknown-linux --call-graph-section -o - < %s | FileCheck %s
; CHECK: ball:
-; CHECK-NEXT: .Lfunc_begin0:
+; CHECK-NEXT: [[LABEL_FUNC:\.Lfunc_begin[0-9]+]]:
define ptr @ball() {
entry:
%fp_foo_val = load ptr, ptr null, align 8
- ; CHECK: .Ltmp0:
+ ; CHECK: [[LABEL_TMP0:\.Ltmp[0-9]+]]:
----------------
ilovepi wrote:
Do you care that it's `.Ltmp`? I'd assume you just want to match anything after `.L`...
https://github.com/llvm/llvm-project/pull/87576
More information about the llvm-branch-commits
mailing list