diff options
author | Lang Hames <lhames@gmail.com> | 2016-08-18 01:33:28 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2016-08-18 01:33:28 +0000 |
commit | 75601bf71e43385621c3eea58edb96dbfbb8b16e (patch) | |
tree | 2ae97ae97920cb596b7cce6dc2f0771eab491478 /llvm/unittests/ExecutionEngine/ExecutionEngineTest.cpp | |
parent | 070bcb0d681a8c6e4c1c373a7fa1fc62175bca65 (diff) | |
download | bcm5719-llvm-75601bf71e43385621c3eea58edb96dbfbb8b16e.tar.gz bcm5719-llvm-75601bf71e43385621c3eea58edb96dbfbb8b16e.zip |
Revert r279016 -- it breaks win32-elf JIT tests.
llvm-svn: 279029
Diffstat (limited to 'llvm/unittests/ExecutionEngine/ExecutionEngineTest.cpp')
-rw-r--r-- | llvm/unittests/ExecutionEngine/ExecutionEngineTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/ExecutionEngine/ExecutionEngineTest.cpp b/llvm/unittests/ExecutionEngine/ExecutionEngineTest.cpp index 798f5ae3575..7cad8413069 100644 --- a/llvm/unittests/ExecutionEngine/ExecutionEngineTest.cpp +++ b/llvm/unittests/ExecutionEngine/ExecutionEngineTest.cpp @@ -139,8 +139,8 @@ TEST_F(ExecutionEngineTest, LookupWithMangledAndDemangledSymbol) { // RTDyldMemoryManager::getSymbolAddressInProcess expects a mangled symbol, // but DynamicLibrary is a wrapper for dlsym, which expects the unmangled C // symbol name. This test verifies that getSymbolAddressInProcess strips the - // leading '_' on Darwin and 32-bit Windows, but not on other platforms. -#if defined(__APPLE__) || (defined(_WIN32) && !defined(_WIN64)) + // leading '_' on Darwin, but not on other platforms. +#ifdef __APPLE__ EXPECT_EQ(reinterpret_cast<uint64_t>(&x), RTDyldMemoryManager::getSymbolAddressInProcess("_x")); #else |