diff options
author | Adrian Prantl <aprantl@apple.com> | 2015-07-07 20:11:29 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2015-07-07 20:11:29 +0000 |
commit | d5b174ab688d6f400079ee2a81e4f42ced59c661 (patch) | |
tree | e30ae87f029abb151b43b5ecb66c3ac2c0ec1da8 /test/PCH/subscripting-literals.m | |
parent | 4a4b27a329e6f190bbd1b1fb5b4820c9abc5eade (diff) |
Wrap clang modules and pch files in an object file container.
This patch adds ObjectFilePCHContainerOperations uses the LLVM backend
to put the contents of a PCH into a __clangast section inside a COFF, ELF,
or Mach-O object file container.
This is done to facilitate module debugging by makeing it possible to
store the debug info for the types defined by a module alongside the AST.
rdar://problem/20091852
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241620 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/PCH/subscripting-literals.m')
-rw-r--r-- | test/PCH/subscripting-literals.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/PCH/subscripting-literals.m b/test/PCH/subscripting-literals.m index 725e5802a5..52491dbc20 100644 --- a/test/PCH/subscripting-literals.m +++ b/test/PCH/subscripting-literals.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm -o %t.nopch.ll %s // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-pch -o %t.pch %s // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm -o %t.pch.ll %s -include-pch %t.pch +// REQUIRES: x86-registered-target // RUN: diff %t.nopch.ll %t.pch.ll #ifndef HEADER |