aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2023-04-19 14:05:26 -0700
committerTeresa Johnson <tejohnson@google.com>2023-04-19 14:09:05 -0700
commit16036f6cc9c7787d940f51a947403e9c1ce24a64 (patch)
tree3491ba43fccf97872a38e8a7c417ddf4bc56aa36 /lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
parent7f596bb50944ee41a9dd1cb95c196dc6f8873b21 (diff)
downloadllvm-16036f6cc9c7787d940f51a947403e9c1ce24a64.zip
llvm-16036f6cc9c7787d940f51a947403e9c1ce24a64.tar.gz
llvm-16036f6cc9c7787d940f51a947403e9c1ce24a64.tar.bz2
[MemProf] Fix bot failure about missing return value along all paths
Fixes warning treated as error from https://lab.llvm.org/buildbot/#/builders/13/builds/34440: 'llvm::LibCallSimplifier::optimizeNew': not all control paths return a value after a35206d78280e0ebcf48cd21bc5fff5c3b9c73fa. Change assert in default case to a return nullptr, so we have a reasonable fallback if invoked on a different library function, and no longer get the above warning.
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp')
0 files changed, 0 insertions, 0 deletions