From d5b174ab688d6f400079ee2a81e4f42ced59c661 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Tue, 7 Jul 2015 20:11:29 +0000 Subject: 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 --- test/PCH/reloc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'test/PCH/reloc.c') 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 -- cgit v1.2.1