aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2015-10-27 17:37:00 +0000
committerDiego Novillo <dnovillo@google.com>2015-10-27 17:37:00 +0000
commitc04270d2e44c4eab0cd2b1ae64601804d654db9c (patch)
treeaa44a8c143371d7692f0fbfa93ddaf802bb87e20 /clang/lib/Frontend/CompilerInvocation.cpp
parent012f1acca7b63e408bab14cc21ad73c54e2dca08 (diff)
downloadllvm-c04270d2e44c4eab0cd2b1ae64601804d654db9c.zip
llvm-c04270d2e44c4eab0cd2b1ae64601804d654db9c.tar.gz
llvm-c04270d2e44c4eab0cd2b1ae64601804d654db9c.tar.bz2
Fix SamplePGO segfault when debug info is missing.
When emitting a remark for a conditional branch annotation, the remark uses the line location information of the conditional branch in the message. In some cases, that information is unavailable and the optimization would segfaul. I'm still not sure whether this is a bug or WAI, but the optimizer should not die because of this. llvm-svn: 251420
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions