Parse the %*# constraint modifiers
[oota-llvm.git] / lib / Debugger / SourceFile.cpp
index 9dc0a9616f5f565d9c353ea708e483b4ab8915bc..222cdfa26aaa3e2df6098df71076a7e847e9dfde 100644 (file)
@@ -1,26 +1,22 @@
 //===-- SourceFile.cpp - SourceFile implementation for the debugger -------===//
-// 
+//
 //                     The LLVM Compiler Infrastructure
 //
 // This file was developed by the LLVM research group and is distributed under
 // the University of Illinois Open Source License. See LICENSE.TXT for details.
-// 
+//
 //===----------------------------------------------------------------------===//
-// 
+//
 // This file implements the SourceFile class for the LLVM debugger.
 //
 //===----------------------------------------------------------------------===//
 
 #include "llvm/Debugger/SourceFile.h"
-#include "llvm/Support/SlowOperationInformer.h"
-#include "llvm/Support/FileUtilities.h"
-#include <iostream>
-#include <cerrno>
-#include <fcntl.h>
-#include <unistd.h>
+#include <cassert>
+
 using namespace llvm;
 
-/// readFile - Load Filename 
+/// readFile - Load Filename
 ///
 void SourceFile::readFile() {
   File.map();
@@ -76,4 +72,3 @@ void SourceFile::getSourceLine(unsigned LineNo, const char *&LineStart,
 
   assert(LineEnd >= LineStart && "We somehow got our pointers swizzled!");
 }