summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Forstall <brucefo@microsoft.com>2017-03-02 11:23:20 -0800
committerBruce Forstall <brucefo@microsoft.com>2017-03-02 11:23:20 -0800
commiteab4f06674709e1dee353df10aafac4bf3ea9907 (patch)
tree788e6c4e691ebac0b6501d18b3cb3f41dbcef0aa /src
parent9a8b76a3fd55c76d31703c1df584f8fa47316ee2 (diff)
downloadcoreclr-eab4f06674709e1dee353df10aafac4bf3ea9907.tar.gz
coreclr-eab4f06674709e1dee353df10aafac4bf3ea9907.tar.bz2
coreclr-eab4f06674709e1dee353df10aafac4bf3ea9907.zip
Add src\jit\protononjit directory to git mirror in preparation for future GitHub work
[tfs-changeset: 1649472]
Diffstat (limited to 'src')
-rw-r--r--src/jit/protononjit/.gitmirror1
-rw-r--r--src/jit/protononjit/SOURCES10
-rw-r--r--src/jit/protononjit/makefile7
-rw-r--r--src/jit/protononjit/protononjit.def7
-rw-r--r--src/jit/protononjit/protononjit.nativeproj86
5 files changed, 111 insertions, 0 deletions
diff --git a/src/jit/protononjit/.gitmirror b/src/jit/protononjit/.gitmirror
new file mode 100644
index 0000000000..f507630f94
--- /dev/null
+++ b/src/jit/protononjit/.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/jit/protononjit/SOURCES b/src/jit/protononjit/SOURCES
new file mode 100644
index 0000000000..353c501873
--- /dev/null
+++ b/src/jit/protononjit/SOURCES
@@ -0,0 +1,10 @@
+
+#
+# DO NOT EDIT THIS FILE!!! Modify the project file in this directory
+# This file merely allows the MSBuild project file in this directory to be integrated with Build.Exe
+#
+TARGETTYPE=NOTARGET
+CLR_TARGETTYPE=DLL
+MSBuildProjectFile=protononjit.nativeproj
+SOURCES=
+ \ No newline at end of file
diff --git a/src/jit/protononjit/makefile b/src/jit/protononjit/makefile
new file mode 100644
index 0000000000..bf27e8c84b
--- /dev/null
+++ b/src/jit/protononjit/makefile
@@ -0,0 +1,7 @@
+
+#
+# DO NOT EDIT THIS FILE!!! Modify the project file in this directory
+# This file merely allows the MSBuild project file in this directory to be integrated with Build.Exe
+#
+
+!INCLUDE $(NTMAKEENV)\devdiv.def
diff --git a/src/jit/protononjit/protononjit.def b/src/jit/protononjit/protononjit.def
new file mode 100644
index 0000000000..1603af74ca
--- /dev/null
+++ b/src/jit/protononjit/protononjit.def
@@ -0,0 +1,7 @@
+; Licensed to the .NET Foundation under one or more agreements.
+; The .NET Foundation licenses this file to you under the MIT license.
+; See the LICENSE file in the project root for more information.
+EXPORTS
+ getJit
+ jitStartup
+ sxsJitStartup
diff --git a/src/jit/protononjit/protononjit.nativeproj b/src/jit/protononjit/protononjit.nativeproj
new file mode 100644
index 0000000000..64df6c5739
--- /dev/null
+++ b/src/jit/protononjit/protononjit.nativeproj
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <!--
+ PROTO JIT: The purpose of this module is to provide an isolated environment to develop
+ the RyuJIT backend without interfering with the development of the frontend. The
+ idea is to fork codegen and registerfp, that way we leave the PUCLR backend intact so
+ it can be still consumed by the RyuJIT frontend separately maintaining the code stability
+ of the PUCLR codegen.cpp logic.
+
+ This module is meant to be used as a throwaway or fallback cross-JIT (x86 -> arm) that will just
+ attempt to generate arm code, throw it away and then re-jit using the default jit on x86.
+ -->
+
+ <!--
+ Note that we are defining TargetArch directly because of altjit is not a real fully functional cross
+ compiled binary. It is just a convenience workaround for JIT devs.
+ -->
+ <PropertyGroup>
+ <TargetArch>arm</TargetArch>
+ </PropertyGroup>
+
+ <!-- Import the CLR's settings -->
+
+ <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\clr.props" />
+
+ <PropertyGroup>
+
+ <!-- Set the output -->
+
+ <OutputName>protononjit</OutputName>
+ <FeatureMergeJitAndEngine>false</FeatureMergeJitAndEngine>
+ <TargetType>DYNLINK</TargetType>
+ <BuildCoreBinaries>false</BuildCoreBinaries>
+ <BuildSysBinaries>false</BuildSysBinaries>
+
+ <!-- Motherhood & apple pie here -->
+
+ <DllEntryPoint>_DllMainCRTStartup</DllEntryPoint>
+ <LinkSubsystem>windows</LinkSubsystem>
+ <LibCLib Condition="'$(FeatureMergeJitAndEngine)'!='true'">$(ClrCrtLib)</LibCLib>
+
+ <!-- JIT specific baloney -->
+
+ <LinkModuleDefinitionFile>$(OutputName).def</LinkModuleDefinitionFile>
+
+ <ClDefines>$(ClDefines);_TARGET_ARM_=1</ClDefines>
+ <ClDefines>$(ClDefines);ALT_JIT</ClDefines>
+
+ <Win32DllLibs>$(SdkLibPath)\kernel32.lib;$(SdkLibPath)\user32.lib;$(SdkLibPath)\advapi32.lib;$(SdkLibPath)\oleaut32.lib;$(SdkLibPath)\uuid.lib</Win32DllLibs>
+ <Win32DllLibs>$(Win32DllLibs);$(ClrLibPath)\utilcode.lib</Win32DllLibs>
+
+ <!-- Profile-guided optimization -->
+
+ <PogoOptimize>false</PogoOptimize>
+ <PogoInstrument>false</PogoInstrument>
+ <PogoUpdate>false</PogoUpdate>
+
+ <!-- Do we want to build with msvcdis disassembly? This should be enabled for DEBUG, disabled otherwise.
+ However, it can be useful to enable it temporarily in non-DEBUG builds, by changing the EnableLateDisasm property.
+ -->
+ <EnableLateDisasm>false</EnableLateDisasm>
+ <ClDefines Condition="'$(EnableLateDisasm)' == 'true'">$(ClDefines);LATE_DISASM=1</ClDefines>
+ <LinkDelayLoad Condition="'$(EnableLateDisasm)' == 'true'">$(LinkDelayLoad);msvcdis$(VC_NONCRT_ProdVerX).dll</LinkDelayLoad>
+ <UseDelayimpLib Condition="'$(EnableLateDisasm)' == 'true' and '$(FeatureMergeJitAndEngine)'!='true'">true</UseDelayimpLib>
+
+ </PropertyGroup>
+
+ <!-- Leaf Project Items -->
+ <ItemGroup>
+ <ProjectReference Include="$(ClrSrcDirectory)utilcode\dyncrt\dyncrt.nativeproj" />
+ <TargetLib Include="$(SdkLibPath)\mscoree.lib" />
+ <TargetLib Include="$(ClrLibPath)\ArmGCInfo.lib">
+ <ProjectReference>$(ClrSrcDirectory)gcinfo\armlib\ArmGCInfo.nativeproj</ProjectReference>
+ </TargetLib>
+ <TargetLib Condition="'$(UseDelayimpLib)' == 'true'" Include="$(ClrLibPath)\delayimp.lib">
+ <ProjectReference>$(ClrSrcDirectory)delayimp\delayimp.nativeproj</ProjectReference>
+ </TargetLib>
+ <TargetLib Condition="'$(DebugBuild)' == 'true'" Include="$(SdkLibPath)\ole32.lib" />
+ <TargetLib Condition="'$(EnableLateDisasm)' == 'true'" Include="$(VCToolsLibPath)\msvcdis.lib" />
+ <RCResourceFile Include="..\native.rc" />
+ </ItemGroup>
+
+ <Import Project="..\jit.settings.targets" />
+
+</Project>