diff options
author | Johan Lorensson <lateralusx.github@gmail.com> | 2020-12-15 10:49:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-15 10:49:56 +0300 |
commit | e29b83934e7ceef9905f82bd6328cbc72db2278b (patch) | |
tree | c35a24153990150542f6781add0d38915df3a2c4 /eng/native/configurepaths.cmake | |
parent | c64861b3bb0b3e31f70aabee875ded8cfd4dbaf7 (diff) |
Implementation of full EventPipeDiagnosticServer C library CoreClr shim. (#45354)
Break out build of eventpipe library into vm/eventing/eventpipe
(both for C++ as well as C library).
Introduce ability to build CoreClr with C++ or C version of
EventPipe/DiagnosticServer library. Beneficial during transition
to have both library useable, C++ library is still default,
but new cmake feature FEATURE_PERFTRACING_C_LIB can be defined
in order to build and use C library instead of C++ version.
Due to restrictions around standard headers in CoreClr,
moved out C library IPC PAL into debug_pal
(where C++ library has its IPC PAL). This unfortunately came
with some additional needed changes since library had dependencies
against runtime, so needed to make PAL sources independent of
majority of EventPipe library. Added same feature as for
EventPipe/DiagnosticServer library, possible to build debug_pal
with C or C++ IPC PAL sources.
Complemented a couple of CoreClr types with NoThrow methods
so they could be used in shim containers without need for
try/catch, CQuickArray::PushNoThrow, SHash::AddNoThrow.
Missing strtoull on non Windows, add PAL_strtoull
into PAL (PAL already included UTF16 version of the same functionality).
Diffstat (limited to 'eng/native/configurepaths.cmake')
-rw-r--r-- | eng/native/configurepaths.cmake | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/eng/native/configurepaths.cmake b/eng/native/configurepaths.cmake index e19b95aa040..b53553391c8 100644 --- a/eng/native/configurepaths.cmake +++ b/eng/native/configurepaths.cmake @@ -1,7 +1,3 @@ get_filename_component(CLR_REPO_ROOT_DIR ${CMAKE_CURRENT_LIST_DIR}/../.. ABSOLUTE) set(CLR_ENG_NATIVE_DIR ${CMAKE_CURRENT_LIST_DIR}) get_filename_component(CLR_SRC_NATIVE_DIR ${CMAKE_CURRENT_LIST_DIR}/../../src/native ABSOLUTE) - -# TO_NATIVE_PATH so it uses backslashes in Windows to avoid getting error, -# as CLR_SRC_NATIVE_DIR is used to specify source files. -file (TO_NATIVE_PATH ${CLR_SRC_NATIVE_DIR} CLR_SRC_NATIVE_DIR) |