From: Alexey Samsonov Date: Thu, 20 Nov 2014 01:27:19 +0000 (+0000) Subject: Remove support for undocumented SpecialCaseList entries. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3ddfd018d139d42f3361f754d8037c48bdbc0f6f;p=clang Remove support for undocumented SpecialCaseList entries. "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 --- diff --git a/test/CodeGen/sanitize-init-order.cpp b/test/CodeGen/sanitize-init-order.cpp index d8279a9c03..6fd215dec9 100644 --- a/test/CodeGen/sanitize-init-order.cpp +++ b/test/CodeGen/sanitize-init-order.cpp @@ -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