File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,17 @@ add_clang_tool(clang-repl
18
18
if (MSVC )
19
19
set_target_properties (clang-repl PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS 1)
20
20
21
+ # Remove ,DATA in export symbols 4adce336f46235aa74c95a3664fe8150c640e4f5
22
+ # icx driver unable to pass the export symbol correctly to lld-linker.
21
23
# RTTI/C++ symbols
22
- set (clang_repl_exports ${clang_repl_exports} ??_7type_info@@6B@,DATA
23
- ?__type_info_root_node@@3U__type_info_node@@A,DATA
24
- ?nothrow@std@@3Unothrow_t@1@B,DATA
24
+ set (clang_repl_exports ${clang_repl_exports} ??_7type_info@@6B@
25
+ ?__type_info_root_node@@3U__type_info_node@@A
26
+ ?nothrow@std@@3Unothrow_t@1@B
25
27
)
26
28
27
29
# Compiler added symbols for static variables. NOT for VStudio < 2015
28
- set (clang_repl_exports ${clang_repl_exports} _Init_thread_abort _Init_thread_epoch,DATA
29
- _Init_thread_footer _Init_thread_header _tls_index,DATA
30
+ set (clang_repl_exports ${clang_repl_exports} _Init_thread_abort _Init_thread_epoch
31
+ _Init_thread_footer _Init_thread_header _tls_index
30
32
)
31
33
32
34
if (CMAKE_SIZEOF_VOID_P EQUAL 8)
You can’t perform that action at this time.
0 commit comments