diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-10-06 06:16:30 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-10-06 06:16:30 +0000 |
commit | cd8fe46d4b22fe7f7847a748d2d59c19147218db (patch) | |
tree | 590d23b7e6fa44cb46fcb964b073ed17c2a2fb24 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 6e85be2ecff3c21b64e1b031d19574597bb3215c (diff) | |
download | bcm5719-llvm-cd8fe46d4b22fe7f7847a748d2d59c19147218db.tar.gz bcm5719-llvm-cd8fe46d4b22fe7f7847a748d2d59c19147218db.zip |
If the destination module all ready has a copy of the global coming from the
source module *and* it must be merged (instead of simply replaced or appended
to), then merge instead of replacing or adding another global.
The ObjC __image_info section was being appended to because of this
failure. This caused a crash because the linker expects the image info section
to be a specific size.
<rdar://problem/8198537>
llvm-svn: 115753
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions