diff options
author | Diego Novillo <dnovillo@google.com> | 2015-05-08 20:59:56 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@google.com> | 2015-05-08 20:59:56 +0000 |
commit | 86f884ed46439b58383f246ecc7297a75d714f26 (patch) | |
tree | 3559fe1c4fa8094f71d7d7a3acc9fd0d3e4e84e6 /llvm/lib/Support/SpecialCaseList.cpp | |
parent | e4bb07ecffa63dec04c01b86723b3828bf40e657 (diff) | |
download | bcm5719-llvm-86f884ed46439b58383f246ecc7297a75d714f26.tar.gz bcm5719-llvm-86f884ed46439b58383f246ecc7297a75d714f26.zip |
Fix BackendConsumer::EmitOptimizationMessage()
Patch from Geoff Berry <gberry@codeaurora.org>
Fix BackendConsumer::EmitOptimizationMessage() to check if the
DiagnosticInfoOptimizationBase object has a valid location before
calling getLocation() to avoid dereferencing a null pointer inside
getLocation() when no debug info is present.
llvm-svn: 236898
Diffstat (limited to 'llvm/lib/Support/SpecialCaseList.cpp')
0 files changed, 0 insertions, 0 deletions