summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-09-29 21:25:13 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-09-29 21:25:13 +0000
commitce3f573ae88340dbbd9a3248472cd6bd0e3ea2ef (patch)
tree7208cb5cc365b8005d92ef34887bb0658ce41e09 /llvm/lib/ExecutionEngine
parent34625dda076d7ac78790827bb494c878b96a462c (diff)
downloadbcm5719-llvm-ce3f573ae88340dbbd9a3248472cd6bd0e3ea2ef.tar.gz
bcm5719-llvm-ce3f573ae88340dbbd9a3248472cd6bd0e3ea2ef.zip
Unit test r218187, changing RTDyldMemoryManager::getSymbolAddress's behavior favor mangled lookup over unmangled lookup.
The contract of this function seems problematic (fallback in either direction seems like it could produce bugs in one client or another), but here's some tests for its current behavior, at least. See the commit/review thread of r218187 for more discussion. llvm-svn: 218626
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r--llvm/lib/ExecutionEngine/RTDyldMemoryManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/RTDyldMemoryManager.cpp b/llvm/lib/ExecutionEngine/RTDyldMemoryManager.cpp
index a84f880f912..2bade6b6a65 100644
--- a/llvm/lib/ExecutionEngine/RTDyldMemoryManager.cpp
+++ b/llvm/lib/ExecutionEngine/RTDyldMemoryManager.cpp
@@ -210,7 +210,7 @@ ARM_MATH_IMPORTS(ARM_MATH_DECL)
#undef ARM_MATH_DECL
#endif
-uint64_t RTDyldMemoryManager::getSymbolAddress(const std::string &Name) {
+uint64_t getSymbolAddress(const std::string &Name) {
// This implementation assumes that the host program is the target.
// Clients generating code for a remote target should implement their own
// memory manager.
OpenPOWER on IntegriCloud