[PATCH 2/3] Add new keyword externally_initialized to LLVM.

Michael Gottesman mgottesman at apple.com
Sun Feb 3 02:42:21 PST 2013


The following patch adds support for the new keyword externally_initialized to GlobalVariable.h/.cpp. It also adds in the desired functionality, ensuring that hasDefiniteInitializer (since even if all the values in different modules are the same the value can change) and hasUniqueInitializer (b/c again the value can change) return false when a variable is marked externally_initialized.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-support-for-new-keyword-externally-initialized.patch
Type: application/octet-stream
Size: 6652 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130203/f8f05b8c/attachment.obj>
-------------- next part --------------


Please Review,

Michael


More information about the llvm-commits mailing list