Skip to content

Commit f57c197

Browse files
committed
Reflect the MC/MCDisassembler split on the include/ level.
No functional change, just moving code around. llvm-svn: 258818
1 parent 3cf8904 commit f57c197

File tree

30 files changed

+43
-43
lines changed

30 files changed

+43
-43
lines changed

llvm/include/llvm/MC/MCDisassembler.h renamed to llvm/include/llvm/MC/MCDisassembler/MCDisassembler.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
// License. See LICENSE.TXT for details.
77
//
88
//===----------------------------------------------------------------------===//
9-
#ifndef LLVM_MC_MCDISASSEMBLER_H
10-
#define LLVM_MC_MCDISASSEMBLER_H
9+
#ifndef LLVM_MC_MCDISASSEMBLER_MCDISASSEMBLER_H
10+
#define LLVM_MC_MCDISASSEMBLER_MCDISASSEMBLER_H
1111

1212
#include "llvm-c/Disassembler.h"
1313
#include "llvm/ADT/ArrayRef.h"
14-
#include "llvm/MC/MCSymbolizer.h"
14+
#include "llvm/MC/MCDisassembler/MCSymbolizer.h"
1515
#include "llvm/Support/DataTypes.h"
1616

1717
namespace llvm {

llvm/include/llvm/MC/MCExternalSymbolizer.h renamed to llvm/include/llvm/MC/MCDisassembler/MCExternalSymbolizer.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
//
1414
//===----------------------------------------------------------------------===//
1515

16-
#ifndef LLVM_MC_MCEXTERNALSYMBOLIZER_H
17-
#define LLVM_MC_MCEXTERNALSYMBOLIZER_H
16+
#ifndef LLVM_MC_MCDISASSEMBLER_MCEXTERNALSYMBOLIZER_H
17+
#define LLVM_MC_MCDISASSEMBLER_MCEXTERNALSYMBOLIZER_H
1818

1919
#include "llvm-c/Disassembler.h"
20-
#include "llvm/MC/MCSymbolizer.h"
20+
#include "llvm/MC/MCDisassembler/MCSymbolizer.h"
2121
#include <memory>
2222

2323
namespace llvm {

llvm/include/llvm/MC/MCRelocationInfo.h renamed to llvm/include/llvm/MC/MCDisassembler/MCRelocationInfo.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
//
1414
//===----------------------------------------------------------------------===//
1515

16-
#ifndef LLVM_MC_MCRELOCATIONINFO_H
17-
#define LLVM_MC_MCRELOCATIONINFO_H
16+
#ifndef LLVM_MC_MCDISASSEMBLER_MCRELOCATIONINFO_H
17+
#define LLVM_MC_MCDISASSEMBLER_MCRELOCATIONINFO_H
1818

1919
#include "llvm/Support/Compiler.h"
2020

llvm/include/llvm/MC/MCSymbolizer.h renamed to llvm/include/llvm/MC/MCDisassembler/MCSymbolizer.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
//
1414
//===----------------------------------------------------------------------===//
1515

16-
#ifndef LLVM_MC_MCSYMBOLIZER_H
17-
#define LLVM_MC_MCSYMBOLIZER_H
16+
#ifndef LLVM_MC_MCDISASSEMBLER_MCSYMBOLIZER_H
17+
#define LLVM_MC_MCDISASSEMBLER_MCSYMBOLIZER_H
1818

19-
#include "llvm/MC/MCRelocationInfo.h"
19+
#include "llvm/MC/MCDisassembler/MCRelocationInfo.h"
2020
#include "llvm/Support/Compiler.h"
2121
#include "llvm/Support/DataTypes.h"
2222
#include <cassert>

llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include "RuntimeDyldImpl.h"
1313
#include "llvm/ExecutionEngine/RuntimeDyldChecker.h"
1414
#include "llvm/MC/MCContext.h"
15-
#include "llvm/MC/MCDisassembler.h"
15+
#include "llvm/MC/MCDisassembler/MCDisassembler.h"
1616
#include "llvm/MC/MCInst.h"
1717
#include "llvm/Support/Path.h"
1818
#include <cctype>

llvm/lib/MC/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ add_llvm_library(LLVMMC
3838
MCSubtargetInfo.cpp
3939
MCSymbol.cpp
4040
MCSymbolELF.cpp
41-
MCSymbolizer.cpp
4241
MCTargetOptions.cpp
4342
MCValue.cpp
4443
MCWin64EH.cpp
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
add_llvm_library(LLVMMCDisassembler
22
Disassembler.cpp
3-
MCRelocationInfo.cpp
4-
MCExternalSymbolizer.cpp
53
MCDisassembler.cpp
4+
MCExternalSymbolizer.cpp
5+
MCRelocationInfo.cpp
6+
MCSymbolizer.cpp
67
)

llvm/lib/MC/MCDisassembler/Disassembler.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
#include "llvm-c/Disassembler.h"
1212
#include "llvm/MC/MCAsmInfo.h"
1313
#include "llvm/MC/MCContext.h"
14-
#include "llvm/MC/MCDisassembler.h"
14+
#include "llvm/MC/MCDisassembler/MCDisassembler.h"
15+
#include "llvm/MC/MCDisassembler/MCRelocationInfo.h"
16+
#include "llvm/MC/MCDisassembler/MCSymbolizer.h"
1517
#include "llvm/MC/MCInst.h"
1618
#include "llvm/MC/MCInstPrinter.h"
1719
#include "llvm/MC/MCInstrInfo.h"
1820
#include "llvm/MC/MCRegisterInfo.h"
19-
#include "llvm/MC/MCRelocationInfo.h"
2021
#include "llvm/MC/MCSubtargetInfo.h"
21-
#include "llvm/MC/MCSymbolizer.h"
2222
#include "llvm/Support/ErrorHandling.h"
2323
#include "llvm/Support/FormattedStream.h"
2424
#include "llvm/Support/TargetRegistry.h"

llvm/lib/MC/MCDisassembler/MCDisassembler.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
//
88
//===----------------------------------------------------------------------===//
99

10-
#include "llvm/MC/MCDisassembler.h"
11-
#include "llvm/MC/MCExternalSymbolizer.h"
10+
#include "llvm/MC/MCDisassembler/MCDisassembler.h"
11+
#include "llvm/MC/MCDisassembler/MCExternalSymbolizer.h"
1212
#include "llvm/Support/raw_ostream.h"
1313

1414
using namespace llvm;

llvm/lib/MC/MCDisassembler/MCExternalSymbolizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88
//===----------------------------------------------------------------------===//
99

10-
#include "llvm/MC/MCExternalSymbolizer.h"
10+
#include "llvm/MC/MCDisassembler/MCExternalSymbolizer.h"
1111
#include "llvm/MC/MCContext.h"
1212
#include "llvm/MC/MCExpr.h"
1313
#include "llvm/MC/MCInst.h"

0 commit comments

Comments
 (0)