mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
Add callstack printing to cloc
- callstack is printed when SEH / SigSegv / SigIll is raised Change-Id: I4bddd1208351027ee67fc6bae2404a90022373c7
This commit is contained in:
committed by
sys_ocldev
parent
a7dbc55ae5
commit
e437589ace
@@ -78,6 +78,8 @@ set(CLOC_SRCS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||
)
|
||||
add_executable(cloc ${CLOC_SRCS})
|
||||
add_subdirectories()
|
||||
|
||||
create_project_source_tree(cloc ${IGDRCL_SOURCE_DIR}/runtime)
|
||||
|
||||
set(CLOC_INCLUDES
|
||||
@@ -94,6 +96,10 @@ target_include_directories(cloc BEFORE PRIVATE ${CLOC_INCLUDES})
|
||||
|
||||
target_compile_definitions(cloc PUBLIC ${CLOC_LIB_FLAGS_DEFINITIONS} ${SUPPORTED_GEN_FLAGS_DEFINITONS} DEFAULT_PLATFORM=${DEFAULT_SUPPORTED_PLATFORM})
|
||||
|
||||
if(MSVC)
|
||||
target_link_libraries(cloc dbghelp)
|
||||
endif()
|
||||
|
||||
if(UNIX)
|
||||
target_link_libraries(cloc dl pthread)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user