summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Timer.cpp
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2015-05-08 20:59:56 +0000
committerDiego Novillo <dnovillo@google.com>2015-05-08 20:59:56 +0000
commit86f884ed46439b58383f246ecc7297a75d714f26 (patch)
tree3559fe1c4fa8094f71d7d7a3acc9fd0d3e4e84e6 /llvm/lib/Support/Timer.cpp
parente4bb07ecffa63dec04c01b86723b3828bf40e657 (diff)
downloadbcm5719-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/Timer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud