Fix bug 34608 by moving private header out of public header.

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

llvm-svn: 313312
This commit is contained in:
Eric Beckmann 2017-09-14 23:01:13 +00:00
parent 3bcc062cdc
commit c0f1f5876a
2 changed files with 1 additions and 1 deletions

View 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 {

View File

@ -12,6 +12,7 @@
//===---------------------------------------------------------------------===//
#include "llvm/WindowsManifest/WindowsManifestMerger.h"
#include "llvm/Config/config.h"
#include "llvm/Support/MemoryBuffer.h"
#include <map>