]> granicus.if.org Git - clang/commitdiff
Remove support for undocumented SpecialCaseList entries.
authorAlexey Samsonov <vonosmas@gmail.com>
Thu, 20 Nov 2014 01:27:19 +0000 (01:27 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Thu, 20 Nov 2014 01:27:19 +0000 (01:27 +0000)
"global-init", "global-init-src" and "global-init-type" were originally
used to blacklist entities in ASan init-order checker. However, they
were never documented, and later were replaced by "=init" category.

Old blacklist entries should be converted as follows:
  * global-init:foo -> global:foo=init
  * global-init-src:bar -> src:bar=init
  * global-init-type:baz -> type:baz=init

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@222401 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/sanitize-init-order.cpp

index d8279a9c031d0d8bff734ee89c473aab1b822d38..6fd215dec9b67f232ab57abc28352866b65a369d 100644 (file)
@@ -1,8 +1,8 @@
 // RUN: %clang_cc1 -fsanitize=address -emit-llvm -o - %s | FileCheck %s
 
 // Test blacklist functionality.
-// RUN: echo "global-init-src:%s" > %t-file.blacklist
-// RUN: echo "global-init-type:PODWithCtorAndDtor" > %t-type.blacklist
+// RUN: echo "src:%s=init" > %t-file.blacklist
+// RUN: echo "type:PODWithCtorAndDtor=init" > %t-type.blacklist
 // RUN: echo "type:NS::PODWithCtor=init" >> %t-type.blacklist
 // RUN: %clang_cc1 -fsanitize=address -fsanitize-blacklist=%t-file.blacklist -emit-llvm -o - %s | FileCheck %s --check-prefix=BLACKLIST
 // RUN: %clang_cc1 -fsanitize=address -fsanitize-blacklist=%t-type.blacklist -emit-llvm -o - %s | FileCheck %s --check-prefix=BLACKLIST