You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add prefix to DAC's PAL exports for alpine (dotnet#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.
message(${MESSAGE_MODE}"Cannot find lldb library. Try installing Xcode. You may need to set LLVM_HOME, LLDB_LIB_DIR or LLDB_LIB if the build still can't find it.")
78
+
return()
79
+
endif()
80
+
endif()
81
+
endif()
82
+
83
+
message(STATUS"LLDB_LIB: ${LLDB_LIB}")
84
+
85
+
if(NOT$ENV{LLDB_H}STREQUAL"")
86
+
set(LLDB_H "$ENV{LLDB_H}")
87
+
else()
88
+
# Check for LLDB headers
89
+
# Multiple versions of LLDB can install side-by-side, so we need to check for lldb in various locations.
90
+
# If the file in a directory is found the result is stored in the variable and the search will not be repeated unless the variable is cleared.
message(${MESSAGE_MODE}"Cannot find lldb-3.5, lldb-3.6, lldb-3.8, lldb-3.9, lldb-4.0, lldb-5.0 or lldb-6.0. Try installing liblldb-3.9-dev (or the appropriate package for your platform). You may need to set LLVM_HOME if the build still can't find it.")
67
-
111
+
message(${MESSAGE_MODE}"Cannot find LLDB.h Try installing lldb-3.9-dev (or the appropriate package for your platform). You may need to set LLVM_HOME or LLDB_INCLUDE_DIR if the build still can't find it.")
68
112
return()
69
113
endif()
70
-
71
-
message(STATUS"LLDB: ${LLDB}")
72
-
endif()
73
-
74
-
# Check for LLDB headers
75
-
# Multiple versions of LLDB can install side-by-side, so we need to check for lldb in various locations.
76
-
# If the file in a directory is found the result is stored in the variable and the search will not be repeated unless the variable is cleared.
message(${MESSAGE_MODE}"Cannot find LLDB.h Try installing lldb-3.9-dev (or the appropriate package for your platform). You may need to set LLVM_HOME if the build still can't find it.")
0 commit comments