aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-01-26 08:27:23 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-01-26 08:27:23 +0000
commit1ae9e8b2783870ebf1c3353611acecef2d951495 (patch)
treeb839b5d6772735aaa4d2b940b636bdeb57aa0800
parentd07c64dce67595e9b27e039c558800b7499df7c7 (diff)
downloadexternal_llvm-1ae9e8b2783870ebf1c3353611acecef2d951495.zip
external_llvm-1ae9e8b2783870ebf1c3353611acecef2d951495.tar.gz
external_llvm-1ae9e8b2783870ebf1c3353611acecef2d951495.tar.bz2
RelocVisitor::visit(): Set hasError in the default path.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173565 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Object/RelocVisitor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Object/RelocVisitor.h b/include/llvm/Object/RelocVisitor.h
index 62d5c51..f09055d 100644
--- a/include/llvm/Object/RelocVisitor.h
+++ b/include/llvm/Object/RelocVisitor.h
@@ -77,6 +77,7 @@ public:
return RelocToApply();
}
}
+ HasError = true;
return RelocToApply();
}