summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PCHContainerOperations.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2015-07-07 20:11:29 +0000
committerAdrian Prantl <aprantl@apple.com>2015-07-07 20:11:29 +0000
commite50371b94800bfde7057c06da4e118a7a2ca283f (patch)
tree38882b868d3ac5a2a6afb46bdf60aab2e899aed0 /clang/lib/Frontend/PCHContainerOperations.cpp
parent7b315ea3c3598cf40147ff604be8b52cb222b0f3 (diff)
downloadbcm5719-llvm-e50371b94800bfde7057c06da4e118a7a2ca283f.tar.gz
bcm5719-llvm-e50371b94800bfde7057c06da4e118a7a2ca283f.zip
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
Diffstat (limited to 'clang/lib/Frontend/PCHContainerOperations.cpp')
-rw-r--r--clang/lib/Frontend/PCHContainerOperations.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Frontend/PCHContainerOperations.cpp b/clang/lib/Frontend/PCHContainerOperations.cpp
index fd3278b3b14..c749bb5c8db 100644
--- a/clang/lib/Frontend/PCHContainerOperations.cpp
+++ b/clang/lib/Frontend/PCHContainerOperations.cpp
@@ -18,8 +18,6 @@
#include "clang/Lex/ModuleLoader.h"
using namespace clang;
-PCHContainerOperations::~PCHContainerOperations() {}
-
namespace {
/// \brief A PCHContainerGenerator that writes out the PCH to a flat file.
OpenPOWER on IntegriCloud