diff options
author | Mike McLaughlin <mikem@microsoft.com> | 2018-07-12 23:45:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-12 23:45:39 -0700 |
commit | b89e2305a2c953272c997242d01b66b1bb1e661e (patch) | |
tree | b4064df6f0917351a74722c91d9928789e53c8cc /src/debug/createdump/CMakeLists.txt | |
parent | 0e22b107e811bc8ab7f3c1caf0943ef760d9f53d (diff) | |
download | coreclr-b89e2305a2c953272c997242d01b66b1bb1e661e.tar.gz coreclr-b89e2305a2c953272c997242d01b66b1bb1e661e.tar.bz2 coreclr-b89e2305a2c953272c997242d01b66b1bb1e661e.zip |
Add prefix to DAC's PAL exports for alpine (#18873)
Added some cmake logic to create assembly include mapping files. One that maps the
prefixed name (DAC_foo) to the actual name (foo) which is included in the DAC module
and another that maps the actual name to the prefixed name that is included in the SOS,
DBI and createdump modules.
The data exports like IID_IUnknown are not prefixed and don't need to be (immutable static data).
There were some C++ exports functions exported with their decorated names in
the CatchHardwareExceptionHolder and NativeExceptionHolderBase classes. Created
PAL_* style export functions that implements the code.
Fix lldb plugin cmake file to use LLDB_H/LLDB_LIB env vars to build it.
Diffstat (limited to 'src/debug/createdump/CMakeLists.txt')
-rw-r--r-- | src/debug/createdump/CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/debug/createdump/CMakeLists.txt b/src/debug/createdump/CMakeLists.txt index 4272cfcb87..4e5b7a15f1 100644 --- a/src/debug/createdump/CMakeLists.txt +++ b/src/debug/createdump/CMakeLists.txt @@ -20,7 +20,7 @@ include_directories(BEFORE ${VM_DIR}) add_definitions(-DPAL_STDCPP_COMPAT=1) -add_compile_options(-fPIC) +add_compile_options(-fPIE) set(CREATEDUMP_SOURCES createdump.cpp @@ -36,11 +36,14 @@ _add_library(createdump_lib _add_executable(createdump main.cpp + ${PAL_REDEFINES_FILE} ) +add_dependencies(createdump pal_redefines_file) + target_link_libraries(createdump createdump_lib - # share the PAL in the dac module + # share the PAL/corguids in the dac module mscordaccore ) |