1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-26 18:02:30 +03:00

temporary

This commit is contained in:
Rui Ueyama 2020-11-03 20:49:30 +09:00
parent 2cf5f81264
commit de9b1d81c9
4 changed files with 8 additions and 4 deletions

View File

@ -1,5 +1,9 @@
#include "mold.h"
#include "llvm/BinaryFormat/Magic.h"
#include "llvm/Option/ArgList.h"
#include "llvm/Support/FileOutputBuffer.h"
#include <iostream>
using namespace llvm;

View File

@ -1,5 +1,7 @@
#include "mold.h"
#include "llvm/Support/Format.h"
using namespace llvm;
void print_map(ArrayRef<ObjectFile *> files, ArrayRef<OutputChunk *> output_sections) {

4
mold.h
View File

@ -3,14 +3,10 @@
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Twine.h"
#include "llvm/BinaryFormat/Magic.h"
#include "llvm/Object/Archive.h"
#include "llvm/Object/ELF.h"
#include "llvm/Object/ELFTypes.h"
#include "llvm/Option/ArgList.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FileOutputBuffer.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Timer.h"
#include "tbb/concurrent_hash_map.h"

View File

@ -1,5 +1,7 @@
#include "mold.h"
#include "llvm/BinaryFormat/Magic.h"
using namespace llvm;
using namespace llvm::ELF;