forked from OSchip/llvm-project
[DWARFLinker][dsymutil] followup for 88c2137b6d
That patch is a followup for "Move DwarfStreamer into DWARFLinker". It fixes build with LLVM_LINK_LLVM_DYLIB.
This commit is contained in:
parent
9fb871866e
commit
0ed2170dc4
|
@ -27,8 +27,6 @@
|
|||
|
||||
namespace llvm {
|
||||
|
||||
static mc::RegisterMCTargetOptionsFlags MOF;
|
||||
|
||||
bool DwarfStreamer::init(Triple TheTriple) {
|
||||
std::string ErrorStr;
|
||||
std::string TripleName;
|
||||
|
|
|
@ -83,6 +83,7 @@
|
|||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
#include "llvm/Target/TargetOptions.h"
|
||||
#include "llvm/MC/MCTargetOptionsCommandFlags.h"
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <cinttypes>
|
||||
|
@ -100,6 +101,9 @@
|
|||
#include <vector>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
static mc::RegisterMCTargetOptionsFlags MOF;
|
||||
|
||||
namespace dsymutil {
|
||||
|
||||
static Error copySwiftInterfaces(
|
||||
|
|
Loading…
Reference in New Issue