Skip to content
Snippets Groups Projects
Commit 4eabbac6 authored by Nico Weber's avatar Nico Weber
Browse files

Don't use PrintFunctionNames.exports on Windows.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198187 91177308-0d34-0410-b5e6-96231b3b80d8
parent 708d1c6a
No related branches found
No related tags found
No related merge requests found
......@@ -6,9 +6,12 @@ set( LLVM_LINK_COMPONENTS
# If we don't need RTTI or EH, there's no reason to export anything
# from the plugin.
if( NOT LLVM_REQUIRES_RTTI )
if( NOT LLVM_REQUIRES_EH )
set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/PrintFunctionNames.exports)
if( NOT WIN32 ) # Win32 mangles symbols differently, and
# PrintFunctionNames.export contains C++ symbols.
if( NOT LLVM_REQUIRES_RTTI )
if( NOT LLVM_REQUIRES_EH )
set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/PrintFunctionNames.exports)
endif()
endif()
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment