[PATCH] D105909: [clang][CallGraphSection] Add type id metadata to indirect call and targets
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 30 13:11:09 PDT 2021
MaskRay added a comment.
(Two comments I forgot to push yesterday.)
================
Comment at: clang/test/CodeGen/call-graph-section-1.cpp:39
+ void f6(const Cls1 *a) {}
+
+ // FT-DAG: define {{.*}} void @_ZN4Cls22f7ER4Cls1({{.*}} !type [[F_TCLS2F7:![0-9]+]]
----------------
needs a test for an out-of-line definition.
================
Comment at: clang/test/CodeGen/call-graph-section-3.cpp:24
+
+// FT-DAG: [[F_TVF]] = !{i64 0, !"_ZTSFiPvE.generalized"}
+
----------------
Metadata nodes are guaranteed to be in the end. Drop `-DAG`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105909/new/
https://reviews.llvm.org/D105909
More information about the cfe-commits
mailing list