1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

[DWARFLinker][dsymutil] followup for 88c2137b6d49f88186d0957a4e2d8030a3967334

That patch is a followup for "Move DwarfStreamer into DWARFLinker".
It fixes build with LLVM_LINK_LLVM_DYLIB.
This commit is contained in:
Alexey Lapshin 2020-04-08 15:21:21 +03:00
parent 1f97534ae0
commit 1ce931d8ef
2 changed files with 4 additions and 2 deletions

View File

@ -27,8 +27,6 @@
namespace llvm {
static mc::RegisterMCTargetOptionsFlags MOF;
bool DwarfStreamer::init(Triple TheTriple) {
std::string ErrorStr;
std::string TripleName;

View File

@ -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(