a5d846df579f3d60457f664a284afe2cc2b9f8db |
|
09-Oct-2015 |
Stephen Hines <srhines@google.com> |
Don't allow user-defined uninitialized const variables to be exported. Bug: 24607459 User-defined variables that are both uninitialized and const can never be linked/initialized properly. We limit llvm-rs-cc to only accepting extern const variables defined in its own headers (such that a proper initialization value can be provided by the runtime library). This will allow us to make constants that lldb can refer to from user commands, since the extern const symbols will remain in the final shared object. Change-Id: I44dbd680278af637c12868e93487745f78936ed0
/frameworks/compile/slang/tests/P_extern_const/stderr.txt.expect
|