aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMichael Buch <michaelbuch12@gmail.com>2025-01-17 09:35:02 +0000
committerGitHub <noreply@github.com>2025-01-17 09:35:02 +0000
commit30e276d06d3176f145151cea96ab01af0c3e842a (patch)
tree82cdca35b8586832993d0a5e323c86ef574dce0d /flang/lib/Frontend/CompilerInvocation.cpp
parent31b62e2d3df86487e7443608b5a84df754b571fd (diff)
downloadllvm-30e276d06d3176f145151cea96ab01af0c3e842a.zip
llvm-30e276d06d3176f145151cea96ab01af0c3e842a.tar.gz
llvm-30e276d06d3176f145151cea96ab01af0c3e842a.tar.bz2
[clang][PCH] Don't try to create standalone debug-info for types marked nodebug (#123253)
Fixes one of the crashes uncovered by https://github.com/llvm/llvm-project/pull/118710 `getOrCreateStandaloneType` asserts that a `DIType` was created for the requested type. If the `Decl` was marked `nodebug`, however, we can't generate debug-info for it, so we would previously trigger the assert. For now keep the assertion around and check the `nodebug` at the callsite.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions