[PATCH] Fix for nasty LTO issue that's most obvious in ObjectiveC.

Kevin Frei freik at fb.com
Fri Nov 7 16:05:28 PST 2014


[Responding to feedback]
Updated the test case to be better directed (specifically testing externally_initialized and appending attributes). Moved the fix to be in GlobalVariable::copyAttributesFrom instead of at the copy site.

http://reviews.llvm.org/D6145

Files:
  lib/IR/Globals.cpp
  test/Linker/lto-attributes.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6145.15944.patch
Type: text/x-patch
Size: 844 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141108/024f1097/attachment.bin>


More information about the llvm-commits mailing list