summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-05-16 22:37:03 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-05-16 22:37:03 +0000
commite0098928c9dfd8ae359efdb2de1fa5c658f7ad87 (patch)
tree8774ca0f8c6423a5222c1863286ce7e7af7fc2bd /llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
parent48369d1b8e34635257ecc2d09cae16e1eb3f28ad (diff)
downloadbcm5719-llvm-e0098928c9dfd8ae359efdb2de1fa5c658f7ad87.tar.gz
bcm5719-llvm-e0098928c9dfd8ae359efdb2de1fa5c658f7ad87.zip
Delete getAliasedGlobal.
llvm-svn: 209040
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
index 5094771450f..7f468f79e22 100644
--- a/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
@@ -557,7 +557,7 @@ bool DataFlowSanitizer::runOnModule(Module &M) {
++i;
// Don't stop on weak. We assume people aren't playing games with the
// instrumentedness of overridden weak aliases.
- if (Function *F = dyn_cast<Function>(GA->getAliasedGlobal())) {
+ if (Function *F = dyn_cast<Function>(GA->getAliasee())) {
bool GAInst = isInstrumented(GA), FInst = isInstrumented(F);
if (GAInst && FInst) {
addGlobalNamePrefix(GA);
OpenPOWER on IntegriCloud