forked from OSchip/llvm-project
Fix layering by moving Support/CodeGenCWrappers.h to Target
This includes llvm-c/TargetMachine.h which is logically part of libTarget (since libTarget implements llvm-c/TargetMachine.h's functions). llvm-svn: 328394
This commit is contained in:
parent
ab7f17f4ec
commit
bf121cf44a
|
@ -1,4 +1,4 @@
|
|||
//===- llvm/Support/CodeGenCWrappers.h - CodeGen C Wrappers -----*- C++ -*-===//
|
||||
//===- llvm/Target/CodeGenCWrappers.h - CodeGen C Wrappers ------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
@ -13,8 +13,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_SUPPORT_CODEGENCWRAPPERS_H
|
||||
#define LLVM_SUPPORT_CODEGENCWRAPPERS_H
|
||||
#ifndef LLVM_TARGET_CODEGENCWRAPPERS_H
|
||||
#define LLVM_TARGET_CODEGENCWRAPPERS_H
|
||||
|
||||
#include "llvm-c/TargetMachine.h"
|
||||
#include "llvm/ADT/Optional.h"
|
|
@ -17,8 +17,8 @@
|
|||
#include "llvm/ExecutionEngine/RTDyldMemoryManager.h"
|
||||
#include "llvm/IR/DerivedTypes.h"
|
||||
#include "llvm/IR/Module.h"
|
||||
#include "llvm/Support/CodeGenCWrappers.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include "llvm/Target/CodeGenCWrappers.h"
|
||||
#include "llvm/Target/TargetOptions.h"
|
||||
#include <cstring>
|
||||
|
||||
|
|
|
@ -18,12 +18,12 @@
|
|||
#include "llvm/IR/DataLayout.h"
|
||||
#include "llvm/IR/LegacyPassManager.h"
|
||||
#include "llvm/IR/Module.h"
|
||||
#include "llvm/Support/CodeGenCWrappers.h"
|
||||
#include "llvm/Support/FileSystem.h"
|
||||
#include "llvm/Support/FormattedStream.h"
|
||||
#include "llvm/Support/Host.h"
|
||||
#include "llvm/Support/TargetRegistry.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "llvm/Target/CodeGenCWrappers.h"
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
#include <cassert>
|
||||
#include <cstdlib>
|
||||
|
|
Loading…
Reference in New Issue