summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-01-23 01:25:58 +0000
committerDevang Patel <dpatel@apple.com>2009-01-23 01:25:58 +0000
commit7d537c23c11c8a8661e7fc7f03167bc3136884e9 (patch)
tree1fa79687ec8ac22e4428cd9e9c9e6de387202b88 /llvm/lib
parent4c8f55abda4e7e165acd08f7c88e3e6da302db1d (diff)
downloadbcm5719-llvm-7d537c23c11c8a8661e7fc7f03167bc3136884e9.tar.gz
bcm5719-llvm-7d537c23c11c8a8661e7fc7f03167bc3136884e9.zip
Code did not follow associated comment. not a good idea.
llvm-svn: 62828
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
index 3057797e7f2..fd59533eeff 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
@@ -1578,7 +1578,7 @@ private:
void AddSourceLine(DIE *Die, const DIGlobal *G) {
unsigned FileID = 0;
unsigned Line = G->getLineNumber();
- if (G->getVersion() < LLVMDebugVersion6) {
+ if (G->getVersion() <= LLVMDebugVersion6) {
// Version6 or earlier. Use compile unit info to get file id.
CompileUnit *Unit = FindCompileUnit(G->getCompileUnit());
FileID = Unit->getID();
OpenPOWER on IntegriCloud