Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(298)

Unified Diff: third_party/mesa/MesaLib/src/mesa/program/prog_parameter.c

Issue 10834292: Hotfix compilation of prog_parameter.c (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mesa/MesaLib/src/mesa/program/prog_parameter.c
===================================================================
--- third_party/mesa/MesaLib/src/mesa/program/prog_parameter.c (revision 151272)
+++ third_party/mesa/MesaLib/src/mesa/program/prog_parameter.c (working copy)
@@ -105,7 +105,10 @@
* \param state state indexes, or NULL
* \return index of new parameter in the list, or -1 if error (out of mem)
*/
+#if defined(ADDRESS_SANITIZER)
+// See http://crbug.com/142316.
__attribute__((no_address_safety_analysis))
+#endif
GLint
_mesa_add_parameter(struct gl_program_parameter_list *paramList,
gl_register_file type, const char *name,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698