mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-28 06:24:57 +00:00
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
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user