RelocVisitor::visit(): Set hasError in the default path.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 26 Jan 2013 08:27:23 +0000 (08:27 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 26 Jan 2013 08:27:23 +0000 (08:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173565 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Object/RelocVisitor.h

index 62d5c51a99a5ca292505b16c5c276c315c75cf67..f09055db72eba71d3795c27cd2209a6127be0518 100644 (file)
@@ -77,6 +77,7 @@ public:
         return RelocToApply();
       }
     }
+    HasError = true;
     return RelocToApply();
   }