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/reloc.c | |
parent | 4a4b27a329e6f190bbd1b1fb5b4820c9abc5eade (diff) | |
download | clang-d5b174ab688d6f400079ee2a81e4f42ced59c661.tar.gz |
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/reloc.c')
-rw-r--r-- | test/PCH/reloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/PCH/reloc.c b/test/PCH/reloc.c index 8dabb8b03d..bf70ab6f69 100644 --- a/test/PCH/reloc.c +++ b/test/PCH/reloc.c @@ -3,6 +3,7 @@ // RUN: %clang -target x86_64-apple-darwin10 -fsyntax-only \ // RUN: -include-pch %t -isysroot %S/libroot %s -Xclang -verify // RUN: not %clang -target x86_64-apple-darwin10 -include-pch %t %s +// REQUIRES: x86-registered-target #include <reloc.h> |