forked from dotnet/coreclr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request dotnet#41 from dotnet-bot/from-tfs
Merge changes from TFS
- Loading branch information
Showing
34 changed files
with
223 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,7 @@ set(COREDAC_LIBRARIES | |
mdruntimerw_dac | ||
strongname_dac | ||
utilcode_dac | ||
unwinder_dac | ||
) | ||
|
||
if(WIN32) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Only contents of this folder, excluding subfolders, will be mirrored by the Git-TFS Mirror. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
include_directories(BEFORE ${VM_DIR}) | ||
include_directories(BEFORE ${VM_DIR}/${ARCH_SOURCES_DIR}) | ||
include_directories(BEFORE ${CMAKE_CURRENT_SOURCE_DIR}) | ||
include_directories(BEFORE ${CLR_DIR}/src/unwinder) | ||
include_directories(${CLR_DIR}/src/debug/ee) | ||
include_directories(${CLR_DIR}/src/gc) | ||
include_directories(${CLR_DIR}/src/gcdump) | ||
include_directories(${CLR_DIR}/src/debug/daccess) | ||
|
||
if(IS_64BIT_BUILD EQUAL 1) | ||
include_directories(amd64) | ||
|
||
set(UNWINDER_SOURCES | ||
unwinder.cpp | ||
amd64/unwinder_amd64.cpp | ||
) | ||
|
||
convert_to_absolute_path(UNWINDER_SOURCES ${UNWINDER_SOURCES}) | ||
|
||
add_subdirectory(dac) | ||
endif(IS_64BIT_BUILD EQUAL 1) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Only contents of this folder, excluding subfolders, will be mirrored by the Git-TFS Mirror. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Only contents of this folder, excluding subfolders, will be mirrored by the Git-TFS Mirror. |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Only contents of this folder, excluding subfolders, will be mirrored by the Git-TFS Mirror. |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Only contents of this folder, excluding subfolders, will be mirrored by the Git-TFS Mirror. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Only contents of this folder, excluding subfolders, will be mirrored by the Git-TFS Mirror. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Only contents of this folder, excluding subfolders, will be mirrored by the Git-TFS Mirror. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
remove_definitions(-DPROFILING_SUPPORTED) | ||
add_definitions(-DPROFILING_SUPPORTED_DATA) | ||
add_definitions(-DDACCESS_COMPILE) | ||
|
||
add_library(unwinder_dac_amd64 ${UNWINDER_SOURCES}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Only contents of this folder, excluding subfolders, will be mirrored by the Git-TFS Mirror. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<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="dac\dirs.proj" /> | ||
</ItemGroup> | ||
|
||
<!--Import the targets--> | ||
<Import Project="$(_NTDRIVE)$(_NTROOT)\tools\Microsoft.DevDiv.Traversal.targets" /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// | ||
// Copyright (c) Microsoft. All rights reserved. | ||
// Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
// | ||
//***************************************************************************** | ||
// File: stdafx.cpp | ||
// | ||
|
||
// | ||
// Host for precompiled headers. | ||
// | ||
//***************************************************************************** | ||
#include "stdafx.h" // Precompiled header key. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// Copyright (c) Microsoft. All rights reserved. | ||
// Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
// | ||
//***************************************************************************** | ||
// File: stdafx.h | ||
// | ||
|
||
// Prevent the inclusion of Random.h from disabling rand(). rand() is used by some other headers we include | ||
// and there's no reason why DAC should be forbidden from using it. | ||
#define DO_NOT_DISABLE_RAND | ||
|
||
#define USE_COM_CONTEXT_DEF | ||
|
||
#include <common.h> | ||
#include <debugger.h> | ||
#include <methoditer.h> | ||
#include <dacprivate.h> | ||
#include <dacimpl.h> |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
||
<!--Import the settings--> | ||
<Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\clr.props" /> | ||
<Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\dac.props" /> | ||
<Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\src\debug\SetDebugTargetLocal.props" /> | ||
<!--Leaf project Properties--> | ||
<PropertyGroup> | ||
<UseStl Condition="'$(BuildForCoreSystem)' != 'true'">true</UseStl> | ||
|
||
<UserIncludes> | ||
$(UserIncludes); | ||
$(ClrSrcDirectory)\unwinder; | ||
$(ClrSrcDirectory)\debug\daccess; | ||
$(ClrSrcDirectory)\vm; | ||
$(ClrSrcDirectory)\vm\$(TargetCpu); | ||
$(ClrSrcDirectory)\debug\inc; | ||
$(ClrSrcDirectory)\debug\inc\$(TargetCpu); | ||
$(ClrSrcDirectory)\debug\inc\dump; | ||
$(ClrSrcDirectory)\debug\ee; | ||
$(ClrSrcDirectory)\inc; | ||
$(VCToolsIncPath); | ||
</UserIncludes> | ||
|
||
<CDefines>$(CDefines);UNICODE;_UNICODE;$(USER_SPECIFIC_C_DEFINES);FEATURE_NO_HOST</CDefines> | ||
|
||
<OutputName Condition="'$(OutputName)' == ''">unwinder_dac</OutputName> | ||
<OutputPath>$(ClrLibDest)</OutputPath> | ||
<TargetType>LIBRARY</TargetType> | ||
<PCHHeader>stdafx.h</PCHHeader> | ||
<EnableCxxPCHHeaders>true</EnableCxxPCHHeaders> | ||
<PCHCompile>$(ClrSrcDirectory)\unwinder\stdafx.cpp</PCHCompile> | ||
|
||
<UnwinderSourcesDir>$(ClrSrcDirectory)\unwinder</UnwinderSourcesDir> | ||
<Amd64SourcesDir>$(ClrSrcDirectory)\unwinder\amd64</Amd64SourcesDir> | ||
<ArmSourcesDir>$(ClrSrcDirectory)\unwinder\arm</ArmSourcesDir> | ||
<Arm64SourcesDir>$(ClrSrcDirectory)\unwinder\arm64</Arm64SourcesDir> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<CppCompile Include="$(UnwinderSourcesDir)\unwinder.cpp" /> | ||
</ItemGroup> | ||
|
||
<!-- AMD64_SOURCES --> | ||
<ItemGroup Condition="'$(TargetArch)' == 'amd64'"> | ||
<CppCompile Include="$(Amd64SourcesDir)\unwinder_amd64.cpp" /> | ||
</ItemGroup> | ||
<!-- ARM_SOURCES --> | ||
<ItemGroup Condition="'$(TargetArch)' == 'arm'"> | ||
<CppCompile Include="$(ArmSourcesDir)\unwinder_arm.cpp" /> | ||
</ItemGroup> | ||
<!-- ARM64_SOURCES --> | ||
<ItemGroup Condition="'$(TargetArch)' == 'arm64'"> | ||
<CppCompile Include="$(Arm64SourcesDir)\unwinder_arm64.cpp" /> | ||
</ItemGroup> | ||
|
||
<Import Project="$(Clrbase)\clr.targets" /> | ||
|
||
</Project> | ||
|