[clang] [clang-tools-extra] [compiler-rt] [PGO] Exposing PGO's Counter Reset and File Dumping APIs (PR #76471)

Qiongsi Wu via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 2 16:20:39 PST 2024


================
@@ -0,0 +1,16 @@
+// Test the linker feature that treats undefined weak symbols as null values.
+
+// RUN: %clang_pgogen -o %t %s
----------------
qiongsiwu wrote:

Ah no worries! I actually tried running this on AIX and the test is unsupported. I think compiler-rt [checks](https://github.com/llvm/llvm-project/blob/d933b88b71b00461815667d7cd0bb2fecd8606db/compiler-rt/test/profile/Linux/lit.local.cfg.py#L45) to see if the host is Linux before running the tests in the `Linux` folder. 

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


More information about the cfe-commits mailing list