[llvm-commits] [llvm] r79767 - in /llvm/trunk/lib/Target/PIC16: AsmPrinter/PIC16AsmPrinter.cpp PIC16DebugInfo.cpp PIC16DebugInfo.h
Chris Lattner
sabre at nondot.org
Sat Aug 22 13:56:13 PDT 2009
Author: lattner
Date: Sat Aug 22 15:56:12 2009
New Revision: 79767
URL: http://llvm.org/viewvc/llvm-project?rev=79767&view=rev
Log:
revert 79764, my dependencies failed me again.
Modified:
llvm/trunk/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.cpp
llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.h
Modified: llvm/trunk/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp?rev=79767&r1=79766&r2=79767&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp Sat Aug 22 15:56:12 2009
@@ -35,7 +35,7 @@
PIC16AsmPrinter::PIC16AsmPrinter(formatted_raw_ostream &O, TargetMachine &TM,
const MCAsmInfo *T, bool V)
-: AsmPrinter(O, TM, T, V), DbgInfo(O) {
+: AsmPrinter(O, TM, T, V), DbgInfo(O, T) {
PTLI = static_cast<PIC16TargetLowering*>(TM.getTargetLowering());
PTAI = static_cast<const PIC16MCAsmInfo*>(T);
PTOF = (PIC16TargetObjectFile*)&PTLI->getObjFileLowering();
Modified: llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.cpp?rev=79767&r1=79766&r2=79767&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.cpp (original)
+++ llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.cpp Sat Aug 22 15:56:12 2009
@@ -15,6 +15,7 @@
#include "PIC16DebugInfo.h"
#include "llvm/GlobalVariable.h"
#include "llvm/CodeGen/MachineFunction.h"
+#include "llvm/MC/MCAsmInfo.h"
#include "llvm/Support/DebugLoc.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/ADT/SmallString.h"
Modified: llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.h?rev=79767&r1=79766&r2=79767&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.h (original)
+++ llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.h Sat Aug 22 15:56:12 2009
@@ -92,6 +92,7 @@
class PIC16DbgInfo {
formatted_raw_ostream &O;
+ const MCAsmInfo *TAI;
std::string CurFile;
unsigned CurLine;
@@ -100,7 +101,8 @@
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;
More information about the llvm-commits
mailing list