annotate clang/test/Modules/outofdate-rebuild.m @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: rm -rf %t.cache
anatofuz
parents:
diff changeset
2 // RUN: echo "@import CoreText;" > %t.m
anatofuz
parents:
diff changeset
3 // RUN: %clang_cc1 -fdisable-module-hash -fmodules-cache-path=%t.cache \
anatofuz
parents:
diff changeset
4 // RUN: -fmodules -fimplicit-module-maps -I%S/Inputs/outofdate-rebuild %s \
anatofuz
parents:
diff changeset
5 // RUN: -fsyntax-only
anatofuz
parents:
diff changeset
6 // RUN: %clang_cc1 -DMISMATCH -Werror -fdisable-module-hash \
anatofuz
parents:
diff changeset
7 // RUN: -fmodules-cache-path=%t.cache -fmodules -fimplicit-module-maps \
anatofuz
parents:
diff changeset
8 // RUN: -I%S/Inputs/outofdate-rebuild %t.m -fsyntax-only
anatofuz
parents:
diff changeset
9 // RUN: %clang_cc1 -fdisable-module-hash -fmodules-cache-path=%t.cache \
anatofuz
parents:
diff changeset
10 // RUN: -fmodules -fimplicit-module-maps -I%S/Inputs/outofdate-rebuild %s \
anatofuz
parents:
diff changeset
11 // RUN: -fsyntax-only
anatofuz
parents:
diff changeset
12
anatofuz
parents:
diff changeset
13 // This testcase reproduces a use-after-free in when ModuleManager removes an
anatofuz
parents:
diff changeset
14 // entry from the ModuleCache without notifying its parent ASTReader.
anatofuz
parents:
diff changeset
15 @import Cocoa;