Skip to content

Commit b0277be

Browse files
committed
[OpenMP][OMPD] Implementation of OMPD debugging library - libompd.
This is a continuation of the review: https://reviews.llvm.org/D100183 It contains routines that retrieve OpenMP ICV values for OMPD. Reviewed By: @hbae Differential Revision: https://reviews.llvm.org/D100184
1 parent 560221a commit b0277be

File tree

3 files changed

+1341
-4
lines changed

3 files changed

+1341
-4
lines changed

openmp/libompd/src/CMakeLists.txt

+1-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
project (libompd)
1212
cmake_minimum_required(VERSION 3.13.4)
1313

14-
add_library (ompd SHARED TargetValue.cpp omp-debug.cpp)
14+
add_library (ompd SHARED TargetValue.cpp omp-debug.cpp omp-state.cpp omp-icv.cpp)
1515

1616
add_dependencies(ompd omp) # ensure generated import library is created first
1717

@@ -38,9 +38,6 @@ if(${LIBOMPD_LD_STD_FLAGS})
3838
endif()
3939
endif()
4040

41-
#TODO: Required temporarily for lib to build as during patch submission.
42-
#when lld used, it expects every symbol to be defined, whereas a few function defined as a part of the next patch
43-
string(REPLACE "-Wl,-z,defs" "" CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS}")
4441
include_directories (
4542
${CMAKE_CURRENT_SOURCE_DIR}
4643
${LIBOMP_INCLUDE_DIR}

0 commit comments

Comments
 (0)