summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2016-03-24 01:14:10 +0000
committerPete Cooper <peter_cooper@apple.com>2016-03-24 01:14:10 +0000
commit07134ae364c4cba9158a2c43adb78a8da1051b3e (patch)
treed5da4f7c467e13addd7f3d87cc9ce6730edf4237 /clang/lib/Frontend/CompilerInvocation.cpp
parent07601d33f8349b563e1b5d8c12ec59aa49b0deca (diff)
downloadbcm5719-llvm-07134ae364c4cba9158a2c43adb78a8da1051b3e.tar.gz
bcm5719-llvm-07134ae364c4cba9158a2c43adb78a8da1051b3e.zip
Avoid UB deref of nullptr to reference. NFC.
Its possible for file to have no entry atom which means that there is no atom to check for being a thumb function. Instead just skip the thumb check and set the entry address to 0, which matches the current behaviour of getting a default initialised int from a map. llvm-svn: 264233
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud