summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/IRForTarget.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2011-11-19 02:54:21 +0000
committerSean Callanan <scallanan@apple.com>2011-11-19 02:54:21 +0000
commit7f27d6044e5c31ec53ecdeb5faa666d7a78c4e94 (patch)
tree6fed56e46e356ee318957cff19eb6494438040c0 /lldb/source/Expression/IRForTarget.cpp
parent3b608422e8ff9e50d05f5f6c1b4760f9fc339aa0 (diff)
downloadbcm5719-llvm-7f27d6044e5c31ec53ecdeb5faa666d7a78c4e94.tar.gz
bcm5719-llvm-7f27d6044e5c31ec53ecdeb5faa666d7a78c4e94.zip
Pulled in a new revision of LLVM/Clang and added
several patches. These patches fix a problem where templated types were not being completed the first time they were used, and fix a variety of minor issues I discovered while fixing that problem. One of the previous local patches was resolved in the most recent Clang, so I removed it. The others will be removed in due course. llvm-svn: 144984
Diffstat (limited to 'lldb/source/Expression/IRForTarget.cpp')
-rw-r--r--lldb/source/Expression/IRForTarget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Expression/IRForTarget.cpp b/lldb/source/Expression/IRForTarget.cpp
index ef3fa767614..cc97706dcf9 100644
--- a/lldb/source/Expression/IRForTarget.cpp
+++ b/lldb/source/Expression/IRForTarget.cpp
@@ -107,7 +107,7 @@ IRForTarget::FixFunctionLinkage(llvm::Function &llvm_function)
llvm_function.setLinkage(GlobalValue::ExternalLinkage);
- std::string name = llvm_function.getNameStr();
+ std::string name = llvm_function.getName().str();
return true;
}
@@ -141,7 +141,7 @@ IRForTarget::HasSideEffects (llvm::Function &llvm_function)
std::string ptr_name;
if (store_ptr->hasName())
- ptr_name = store_ptr->getNameStr();
+ ptr_name = store_ptr->getName().str();
if (isa <AllocaInst> (store_ptr))
break;
@@ -342,7 +342,7 @@ IRForTarget::ResolveFunctionPointers(llvm::Module &llvm_module,
bool is_decl = fun->isDeclaration();
if (log)
- log->Printf("Examining %s function %s", (is_decl ? "declaration" : "non-declaration"), fun->getNameStr().c_str());
+ log->Printf("Examining %s function %s", (is_decl ? "declaration" : "non-declaration"), fun->getName().str().c_str());
if (!is_decl)
continue;
OpenPOWER on IntegriCloud