diff options
author | Jim Ingham <jingham@apple.com> | 2016-07-07 19:06:37 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2016-07-07 19:06:37 +0000 |
commit | 3a45e034423ca8811846065ad27fc87e5859cf2f (patch) | |
tree | db00f4dbc7a61167df18be9f229137e89c37cb1f /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 65fa0704aa8878688f66eccb99fe2eafde314b19 (diff) | |
download | llvm-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