552d872e5cdc883d9f8e76d8c67d3a82e3ece488 |
|
18-Dec-2013 |
Stephen Hines <srhines@google.com> |
Strip unknown/unsupported attributes (like readnone/readonly for parameters). Bug: 12135682 Jellybean's LLVM version didn't support readnone/readonly as anything other than function attributes, so it will fail verification otherwise. Since we never ran the verifier in Jellybean, it ends up with potential crashes deeper in CodeGen. Change-Id: I0a93a548b427f610fa9ca0a1ae0b432e6fa39e11
/frameworks/compile/slang/strip_unknown_attributes.h
|