We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3de40ac commit a30e5beCopy full SHA for a30e5be
llvm/include/llvm/Support/JSON.h
@@ -482,7 +482,7 @@ class Value {
482
friend class Object;
483
484
template <typename T, typename... U> void create(U &&... V) {
485
-#if defined(ADDRESS_SANITIZER) || defined(__SANITIZE_ADDRESS__)
+#if defined(LLVM_ADDRESS_SANITIZER_BUILD)
486
// Unpoisoning to prevent overwriting poisoned object (e.g., annotated short
487
// string). Objects that have had their memory poisoned may cause an ASan
488
// error if their memory is reused without calling their destructor.
0 commit comments