diff options
author | Kevin Enderby <enderby@apple.com> | 2013-09-05 20:25:06 +0000 |
---|---|---|
committer | Kevin Enderby <enderby@apple.com> | 2013-09-05 20:25:06 +0000 |
commit | 09cdb4385f4ef74a13586ba5e14bde818e02d2d2 (patch) | |
tree | bd853a5a0f82f1541ffb00ec19f326a1e6f77db4 /clang/lib/Serialization/ModuleManager.cpp | |
parent | f48b8fc06dd0046f195db08c9daf86ee4abc316e (diff) | |
download | bcm5719-llvm-09cdb4385f4ef74a13586ba5e14bde818e02d2d2.tar.gz bcm5719-llvm-09cdb4385f4ef74a13586ba5e14bde818e02d2d2.zip |
Fixed a crash in the integrated assembler for Mach-O when a symbol difference
expression uses an assembler temporary symbol from an assignment. In this case
the symbol does not have a fragment so the use of getFragment() would be NULL
and caused a crash. In the case of an assembler temporary symbol we want to use
the AliasedSymbol (if any) which will create a local relocation entry, but if
it is not an assembler temporary symbol then let it use that symbol with an
external relocation entry.
rdar://9356266
llvm-svn: 190096
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions