[llvm-commits] [llvm] r173565 - RelocVisitor::visit(): Set hasError in the default path.

NAKAMURA Takumi geek4civic at gmail.com
Sat Jan 26 00:27:24 PST 2013


Author: chapuni
Date: Sat Jan 26 02:27:23 2013
New Revision: 173565

URL: http://llvm.org/viewvc/llvm-project?rev=173565&view=rev
Log:
RelocVisitor::visit(): Set hasError in the default path.

Modified:
    llvm/trunk/include/llvm/Object/RelocVisitor.h

Modified: llvm/trunk/include/llvm/Object/RelocVisitor.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/RelocVisitor.h?rev=173565&r1=173564&r2=173565&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Object/RelocVisitor.h (original)
+++ llvm/trunk/include/llvm/Object/RelocVisitor.h Sat Jan 26 02:27:23 2013
@@ -77,6 +77,7 @@ public:
         return RelocToApply();
       }
     }
+    HasError = true;
     return RelocToApply();
   }
 





More information about the llvm-commits mailing list