[clang] [clang][analyzer] Fix a nullptr dereference when `-ftime-trace` is used (PR #139820)
Balazs Benics via cfe-commits
cfe-commits at lists.llvm.org
Wed May 14 06:50:20 PDT 2025
================
@@ -0,0 +1,5 @@
+// RUN: %clang --analyze %s -ftime-trace -Xclang -verify
+// expected-no-diagnostics
----------------
steakhal wrote:
Have you tried `clang_analyze_cc1`? We usually prefer that in our tests. It gives us an extra level of indirection over using `%clang` directly.
https://github.com/llvm/llvm-project/pull/139820
More information about the cfe-commits
mailing list