]> granicus.if.org Git - llvm/commitdiff
Fix bug 34608 by moving private header out of public header.
authorEric Beckmann <ecbeckmann@google.com>
Thu, 14 Sep 2017 23:01:13 +0000 (23:01 +0000)
committerEric Beckmann <ecbeckmann@google.com>
Thu, 14 Sep 2017 23:01:13 +0000 (23:01 +0000)
WindowsManifestMerger.h should not include llvm/Config/config.h, since it is private.  The include has been moved to the source instead.

Summary:
The checksums had already been placed in the IR, this patch allows
MCCodeView to actually write it out to an MCStreamer.

Move private config.h header dependency out of public header file.

Addresses Bug 34608

Subscribers: javed.absar, hiraditya, llvm-commits

Differential Revision: https://reviews.llvm.org/D37863

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313312 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/WindowsManifest/WindowsManifestMerger.h
lib/WindowsManifest/WindowsManifestMerger.cpp

index ba5703c673f0787363e7808516410f064b586999..302d3705887b73719ed9b5f55f0fdf64acc15a82 100644 (file)
@@ -26,7 +26,6 @@
 #ifndef LLVM_INCLUDE_LLVM_SUPPORT_WINDOWS_MANIFEST_MERGER_H
 #define LLVM_INCLUDE_LLVM_SUPPORT_WINDOWS_MANIFEST_MERGER_H
 
-#include "llvm/Config/config.h"
 #include "llvm/Support/Error.h"
 
 namespace llvm {
index f2f2187bbacb34b85d66baa5d1204cd523fbeba9..0a8abed230d41a9bb819815693167b6f69d890f2 100644 (file)
@@ -12,6 +12,7 @@
 //===---------------------------------------------------------------------===//
 
 #include "llvm/WindowsManifest/WindowsManifestMerger.h"
+#include "llvm/Config/config.h"
 #include "llvm/Support/MemoryBuffer.h"
 
 #include <map>