summaryrefslogtreecommitdiff
path: root/lib/Target/PIC16/PIC16DebugInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/PIC16/PIC16DebugInfo.h')
-rw-r--r--lib/Target/PIC16/PIC16DebugInfo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/PIC16/PIC16DebugInfo.h b/lib/Target/PIC16/PIC16DebugInfo.h
index d4d3a21b51..ae677caaa4 100644
--- a/lib/Target/PIC16/PIC16DebugInfo.h
+++ b/lib/Target/PIC16/PIC16DebugInfo.h
@@ -92,6 +92,7 @@ namespace llvm {
class PIC16DbgInfo {
formatted_raw_ostream &O;
+ const MCAsmInfo *TAI;
std::string CurFile;
unsigned CurLine;
@@ -100,7 +101,8 @@ namespace llvm {
bool EmitDebugDirectives;
public:
- PIC16DbgInfo(formatted_raw_ostream &o): O(o) {
+ PIC16DbgInfo(formatted_raw_ostream &o, const MCAsmInfo *T)
+ : O(o), TAI(T) {
CurFile = "";
CurLine = 0;
EmitDebugDirectives = false;