aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2016-07-07 19:06:37 +0000
committerJim Ingham <jingham@apple.com>2016-07-07 19:06:37 +0000
commit3a45e034423ca8811846065ad27fc87e5859cf2f (patch)
treedb00f4dbc7a61167df18be9f229137e89c37cb1f /llvm/lib/Object/MachOObjectFile.cpp
parent65fa0704aa8878688f66eccb99fe2eafde314b19 (diff)
downloadllvm-3a45e034423ca8811846065ad27fc87e5859cf2f.zip
llvm-3a45e034423ca8811846065ad27fc87e5859cf2f.tar.gz
llvm-3a45e034423ca8811846065ad27fc87e5859cf2f.tar.bz2
Check whether Sema::CreateBuiltinUnaryOp returns an empty result.
If it does, calling AddInitializerToDecl will crash, so we should abort the result synthesis in this case. <rdar://problem/27205383> llvm-svn: 274787
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions