projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfc3330
)
BTFDebug.h - reduce MachineInstr.h include to forward declaration. NFCI.
author
Simon Pilgrim
<llvm-dev@redking.me.uk>
Mon, 7 Sep 2020 16:50:58 +0000
(17:50 +0100)
committer
Simon Pilgrim
<llvm-dev@redking.me.uk>
Mon, 7 Sep 2020 16:51:13 +0000
(17:51 +0100)
llvm/lib/Target/BPF/BTFDebug.h
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/BPF/BTFDebug.h
b/llvm/lib/Target/BPF/BTFDebug.h
index
db5b563
..
1bad0d1
100644
(file)
--- a/
llvm/lib/Target/BPF/BTFDebug.h
+++ b/
llvm/lib/Target/BPF/BTFDebug.h
@@
-16,7
+16,8
@@
#include "llvm/ADT/StringMap.h"
#include "llvm/CodeGen/DebugHandlerBase.h"
-#include "llvm/CodeGen/MachineInstr.h"
+#include <cstdint>
+#include <map>
#include <set>
#include <unordered_map>
#include "BTF.h"
@@
-27,9
+28,12
@@
class AsmPrinter;
class BTFDebug;
class DIType;
class GlobalVariable;
+class MachineFunction;
+class MachineInstr;
+class MachineOperand;
+class MCInst;
class MCStreamer;
class MCSymbol;
-class MachineFunction;
/// The base class for BTF type generation.
class BTFTypeBase {