Unit test r218187, changing RTDyldMemoryManager::getSymbolAddress's behavior favor...
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 29 Sep 2014 21:25:13 +0000 (21:25 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 29 Sep 2014 21:25:13 +0000 (21:25 +0000)
commit03b4667e14c418041a8a8ec4ce099b1d7ce51a11
treeb7a78f4b63796923458c74642d48864661abb99e
parent7b2aaade8763ff7a356131cbdaada267d0244bfb
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218626 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ExecutionEngine/RTDyldMemoryManager.h
lib/ExecutionEngine/RTDyldMemoryManager.cpp
unittests/ExecutionEngine/ExecutionEngineTest.cpp