• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# If we don't need RTTI or EH, there's no reason to export anything
2# from the plugin.
3if( NOT WIN32 ) # Win32 mangles symbols differently, and
4                # PrintFunctionNames.export contains C++ symbols.
5  if( NOT LLVM_REQUIRES_RTTI )
6    if( NOT LLVM_REQUIRES_EH )
7      set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/PrintFunctionNames.exports)
8    endif()
9  endif()
10endif()
11
12add_llvm_loadable_module(PrintFunctionNames PrintFunctionNames.cpp)
13