summaryrefslogtreecommitdiff
path: root/src/unwinder/dac
diff options
context:
space:
mode:
Diffstat (limited to 'src/unwinder/dac')
-rw-r--r--src/unwinder/dac/.gitmirror1
-rw-r--r--src/unwinder/dac/CMakeLists.txt10
-rw-r--r--src/unwinder/dac/dirs.proj18
-rw-r--r--src/unwinder/dac/hostlocal/.gitmirror1
-rw-r--r--src/unwinder/dac/hostlocal/unwinder_dac.nativeproj13
-rw-r--r--src/unwinder/dac/hostwinamd64/.gitmirror1
-rw-r--r--src/unwinder/dac/hostwinamd64/CMakeLists.txt5
-rw-r--r--src/unwinder/dac/hostwinamd64/unwinder_dac.nativeproj15
-rw-r--r--src/unwinder/dac/hostwinx86/.gitmirror1
-rw-r--r--src/unwinder/dac/hostwinx86/unwinder_dac.nativeproj15
10 files changed, 80 insertions, 0 deletions
diff --git a/src/unwinder/dac/.gitmirror b/src/unwinder/dac/.gitmirror
new file mode 100644
index 0000000000..f507630f94
--- /dev/null
+++ b/src/unwinder/dac/.gitmirror
@@ -0,0 +1 @@
+Only contents of this folder, excluding subfolders, will be mirrored by the Git-TFS Mirror. \ No newline at end of file
diff --git a/src/unwinder/dac/CMakeLists.txt b/src/unwinder/dac/CMakeLists.txt
new file mode 100644
index 0000000000..e82046197c
--- /dev/null
+++ b/src/unwinder/dac/CMakeLists.txt
@@ -0,0 +1,10 @@
+include(${CLR_DIR}/dac.cmake)
+
+add_definitions(-DFEATURE_NO_HOST)
+add_definitions(-D_TARGET_AMD64_=1)
+add_definitions(-DDBG_TARGET_64BIT=1)
+add_definitions(-DDBG_TARGET_AMD64=1)
+add_definitions(-DDBG_TARGET_WIN64=1)
+add_definitions(-D_WIN64=1)
+
+add_library(unwinder_dac ${UNWINDER_SOURCES})
diff --git a/src/unwinder/dac/dirs.proj b/src/unwinder/dac/dirs.proj
new file mode 100644
index 0000000000..77738732ed
--- /dev/null
+++ b/src/unwinder/dac/dirs.proj
@@ -0,0 +1,18 @@
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <!--Import the settings-->
+ <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\clr.props" />
+
+ <PropertyGroup>
+ <BuildInPhase1>true</BuildInPhase1>
+ <BuildInPhaseDefault>false</BuildInPhaseDefault>
+ <BuildCoreBinaries>true</BuildCoreBinaries>
+ <BuildSysBinaries>true</BuildSysBinaries>
+ </PropertyGroup>
+
+ <!--The following projects will build during PHASE 1-->
+ <ItemGroup Condition="'$(BuildExePhase)' == '1'">
+ <ProjectFile Include="hostlocal\unwinder_dac.nativeproj" />
+ </ItemGroup>
+
+ <Import Project="$(_NTDRIVE)$(_NTROOT)\tools\Microsoft.DevDiv.Traversal.targets" />
+</Project>
diff --git a/src/unwinder/dac/hostlocal/.gitmirror b/src/unwinder/dac/hostlocal/.gitmirror
new file mode 100644
index 0000000000..f507630f94
--- /dev/null
+++ b/src/unwinder/dac/hostlocal/.gitmirror
@@ -0,0 +1 @@
+Only contents of this folder, excluding subfolders, will be mirrored by the Git-TFS Mirror. \ No newline at end of file
diff --git a/src/unwinder/dac/hostlocal/unwinder_dac.nativeproj b/src/unwinder/dac/hostlocal/unwinder_dac.nativeproj
new file mode 100644
index 0000000000..3b562e07f9
--- /dev/null
+++ b/src/unwinder/dac/hostlocal/unwinder_dac.nativeproj
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <PropertyGroup>
+ <BuildCoreBinaries>true</BuildCoreBinaries>
+ <BuildSysBinaries>true</BuildSysBinaries>
+ <OutputName>unwinder_dac</OutputName>
+ </PropertyGroup>
+
+ <!-- compile items -->
+ <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\src\unwinder\unwinder.targets" />
+
+</Project>
diff --git a/src/unwinder/dac/hostwinamd64/.gitmirror b/src/unwinder/dac/hostwinamd64/.gitmirror
new file mode 100644
index 0000000000..f507630f94
--- /dev/null
+++ b/src/unwinder/dac/hostwinamd64/.gitmirror
@@ -0,0 +1 @@
+Only contents of this folder, excluding subfolders, will be mirrored by the Git-TFS Mirror. \ No newline at end of file
diff --git a/src/unwinder/dac/hostwinamd64/CMakeLists.txt b/src/unwinder/dac/hostwinamd64/CMakeLists.txt
new file mode 100644
index 0000000000..66a595f033
--- /dev/null
+++ b/src/unwinder/dac/hostwinamd64/CMakeLists.txt
@@ -0,0 +1,5 @@
+remove_definitions(-DPROFILING_SUPPORTED)
+add_definitions(-DPROFILING_SUPPORTED_DATA)
+add_definitions(-DDACCESS_COMPILE)
+
+add_library(unwinder_dac_amd64 ${UNWINDER_SOURCES})
diff --git a/src/unwinder/dac/hostwinamd64/unwinder_dac.nativeproj b/src/unwinder/dac/hostwinamd64/unwinder_dac.nativeproj
new file mode 100644
index 0000000000..e0dff469a4
--- /dev/null
+++ b/src/unwinder/dac/hostwinamd64/unwinder_dac.nativeproj
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <!-- xplat Windows host, local target DAC build -->
+ <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\xplat\SetTargetLocal.props" />
+ <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\xplat\SetHostWinAMD64.props" />
+ <PropertyGroup>
+ <BuildSysBinaries>true</BuildSysBinaries>
+ <OutputName>unwinder_dac_amd64</OutputName>
+ </PropertyGroup>
+
+ <!-- compile items -->
+ <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\src\unwinder\unwinder.targets" />
+
+</Project>
diff --git a/src/unwinder/dac/hostwinx86/.gitmirror b/src/unwinder/dac/hostwinx86/.gitmirror
new file mode 100644
index 0000000000..f507630f94
--- /dev/null
+++ b/src/unwinder/dac/hostwinx86/.gitmirror
@@ -0,0 +1 @@
+Only contents of this folder, excluding subfolders, will be mirrored by the Git-TFS Mirror. \ No newline at end of file
diff --git a/src/unwinder/dac/hostwinx86/unwinder_dac.nativeproj b/src/unwinder/dac/hostwinx86/unwinder_dac.nativeproj
new file mode 100644
index 0000000000..a3538c3383
--- /dev/null
+++ b/src/unwinder/dac/hostwinx86/unwinder_dac.nativeproj
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <!-- xplat win32 host, local target DAC build -->
+ <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\xplat\SetTargetLocal.props" />
+ <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\xplat\SetHostWinx86.props" />
+ <PropertyGroup>
+ <BuildSysBinaries>true</BuildSysBinaries>
+ <OutputName>unwinder_dac_x86</OutputName>
+ </PropertyGroup>
+
+ <!-- compile items -->
+ <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\src\unwinder\unwinder.targets" />
+
+</Project>