summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.h
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2014-10-24 22:39:40 +0000
committerKevin Enderby <enderby@apple.com>2014-10-24 22:39:40 +0000
commit2813f496d98f3e6d2c9c2774601999e147af34ef (patch)
treec73a9ccdc2add188e187092dfb54f09e5197a5d4 /llvm/lib/Bitcode/Reader/BitcodeReader.h
parent4183dbcc0327e9ef54447143c0073aa2593a5618 (diff)
downloadbcm5719-llvm-2813f496d98f3e6d2c9c2774601999e147af34ef.tar.gz
bcm5719-llvm-2813f496d98f3e6d2c9c2774601999e147af34ef.zip
Fix a Mach-O assembler segfault for a subtraction expression with an undefined symbol.
In a Mach-O object file a relocatable expression of the form SymbolA - SymbolB + constant is allowed when both symbols are defined in a section. But when either symbol is undefined it is an error. The code was crashing when it had an undefined symbol in this case. And should have printed a error message using the location information in the relocation entry. rdar://18678402 llvm-svn: 220599
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud