[clang] [Clang] Emit type metadata on vtables when IRPGO instrumentation option is on. (PR #70841)

Teresa Johnson via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 1 15:30:25 PDT 2023


================
@@ -0,0 +1,145 @@
+// Test that type metadata are emitted with -fprofile-generate
+//
+// RUN: %clang -fprofile-generate -fno-lto -target x86_64-unknown-linux -emit-llvm -S %s -o - | FileCheck %s --check-prefix=ITANIUM
+// RUN: %clang -fprofile-generate -fno-lto -target x86_64-pc-windows-msvc -emit-llvm -S %s -o - | FileCheck %s --check-prefix=MS
----------------
teresajohnson wrote:

Yes I think that would be more typical and better imo (i.e. use %clang_cc to test)

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


More information about the cfe-commits mailing list