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

Michael Gottesman mgottesman at apple.com
Sun Feb 3 13:23:34 PST 2013


I was just thinking about it and I am going to actually split this patch into 2. The first is just adding the actual instance variable and its getters/setters without any actual functionality change. I will add the actual functionality in a later patch with unit tests.

On Feb 3, 2013, at 2:42 AM, Michael Gottesman <mgottesman at apple.com> wrote:

> 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.
> 
> <0001-Added-support-for-new-keyword-externally-initialized.patch>
> 
> Please Review,
> 
> Michael
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list