From e50371b94800bfde7057c06da4e118a7a2ca283f 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 llvm-svn: 241620 --- clang/test/Frontend/ast-codegen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/test/Frontend/ast-codegen.c') diff --git a/clang/test/Frontend/ast-codegen.c b/clang/test/Frontend/ast-codegen.c index b85c5dcf508..4a3f8a3b79f 100644 --- a/clang/test/Frontend/ast-codegen.c +++ b/clang/test/Frontend/ast-codegen.c @@ -1,3 +1,4 @@ +// REQUIRES: x86-registered-target // RUN: %clang -target i386-unknown-unknown -emit-ast -o %t.ast %s // RUN: %clang -target i386-unknown-unknown -emit-llvm -S -o - %t.ast | FileCheck %s -- cgit v1.2.3