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

Side by Side Diff: src/globals.h

Issue 48413002: Rename deprecated __attribute__((no_address_safety_analysis)) to __attribute__((no_sanitize_address… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 #define NO_INLINE(declarator) V8_NOINLINE declarator 351 #define NO_INLINE(declarator) V8_NOINLINE declarator
352 352
353 353
354 // Newly written code should use V8_WARN_UNUSED_RESULT. 354 // Newly written code should use V8_WARN_UNUSED_RESULT.
355 #define MUST_USE_RESULT V8_WARN_UNUSED_RESULT 355 #define MUST_USE_RESULT V8_WARN_UNUSED_RESULT
356 356
357 357
358 // Define DISABLE_ASAN macros. 358 // Define DISABLE_ASAN macros.
359 #if defined(__has_feature) 359 #if defined(__has_feature)
360 #if __has_feature(address_sanitizer) 360 #if __has_feature(address_sanitizer)
361 #define DISABLE_ASAN __attribute__((no_address_safety_analysis)) 361 #define DISABLE_ASAN __attribute__((no_sanitize_address))
362 #endif 362 #endif
363 #endif 363 #endif
364 364
365 365
366 #ifndef DISABLE_ASAN 366 #ifndef DISABLE_ASAN
367 #define DISABLE_ASAN 367 #define DISABLE_ASAN
368 #endif 368 #endif
369 369
370 370
371 // ----------------------------------------------------------------------------- 371 // -----------------------------------------------------------------------------
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 // the backend, so both modes are represented by the kStrictMode value. 404 // the backend, so both modes are represented by the kStrictMode value.
405 enum StrictModeFlag { 405 enum StrictModeFlag {
406 kNonStrictMode, 406 kNonStrictMode,
407 kStrictMode 407 kStrictMode
408 }; 408 };
409 409
410 410
411 } } // namespace v8::internal 411 } } // namespace v8::internal
412 412
413 #endif // V8_GLOBALS_H_ 413 #endif // V8_GLOBALS_H_
OLDNEW
« 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