[clang] [clang][analyzer] Fix a nullptr dereference when `-ftime-trace` is used (PR #139820)

Fangyi Zhou via cfe-commits cfe-commits at lists.llvm.org
Wed May 14 06:54:15 PDT 2025


================
@@ -0,0 +1,5 @@
+// RUN: %clang --analyze %s -ftime-trace -Xclang -verify
+// expected-no-diagnostics
----------------
fangyi-zhou wrote:

I've tried to use cc1 but it doesn't seem to trigger the same crash. Possibly I got the arguments wrong, I can have a look

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


More information about the cfe-commits mailing list