Hello<br><br>The current svn revision fails to compile on windows using Visual Studio 2008.<br>I'm getting:<br><br>3>f:\dev\llvm\lib\codegen\asmprinter\dwarfwriter.cpp(1167) : error C4716: 'llvm::DbgScope::getLine' : must return a value<br>
3>f:\dev\llvm\lib\codegen\asmprinter\dwarfwriter.cpp(1168) : error C4716: 'llvm::DbgScope::getColumn' : must return a value<br>3>f:\dev\llvm\lib\codegen\asmprinter\dwarfwriter.cpp(1169) : error C4716: 'llvm::DbgScope::getFile' : must return a value<br>
<br>Attached you can find a patch which should fix the issue.<br><br>Sincerely yours<br>Marius Wachtler<br><br><br>Index: DwarfWriter.cpp<br>===================================================================<br>--- DwarfWriter.cpp    (revision 69629)<br>
+++ DwarfWriter.cpp    (working copy)<br>@@ -1164,9 +1164,9 @@<br>   void AddVariable(DbgVariable *V) { Variables.push_back(V); }<br> <br>   virtual bool isInlinedSubroutine() { return false; }<br>-  virtual unsigned getLine()   { assert ( 0 && "Unexpected scope!"); }<br>
-  virtual unsigned getColumn() { assert ( 0 && "Unexpected scope!"); }<br>-  virtual unsigned getFile()   { assert ( 0 && "Unexpected scope!"); }<br>+  virtual unsigned getLine()   { assert ( 0 && "Unexpected scope!"); return 0; }<br>
+  virtual unsigned getColumn() { assert ( 0 && "Unexpected scope!"); return 0; }<br>+  virtual unsigned getFile()   { assert ( 0 && "Unexpected scope!"); return 0; }<br> };<br> <br> <br>
<br>