[clang] [llvm] [clang][llvm][AArch64] Set hardening fn attrs on synthetic functions (PR #211013)

Daniil Kovalev via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 31 04:09:24 PDT 2026


================
@@ -0,0 +1,41 @@
+// RUN: %clang_cc1 -triple arm64-apple-ios   -coverage-data-file=/dev/null                                -emit-llvm %s -o - | FileCheck %s --check-prefixes=ALL,OFF
----------------
kovdan01 wrote:

I've left this test as "end-to-end" test for the original reproducer the issue was discovered on, and also added a test in llvm/test per your suggestion - thanks for raising this concern.

Also note that there are several other tests in clang/test/CodeGen which enable `-coverage-data-file=/dev/null` so I believe it should be fine

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


More information about the cfe-commits mailing list