Skip to content

Commit 0311fce

Browse files
authored
Merge pull request dotnet#2 from pgavlin/LIRMergeMaster
Merge coreclr/master.
2 parents e4e1496 + 119a713 commit 0311fce

File tree

191 files changed

+8271
-5882
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

191 files changed

+8271
-5882
lines changed

BuildToolsVersion.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.26-prerelease-00613-01
1+
1.0.26-prerelease-00625-01

CONTRIBUTING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Contributing
2+
3+
See [Contributing](Documentation/project-docs/contributing.md) for information about coding styles, source structure, making pull requests, and more.
4+
5+
# Developers
6+
7+
See the [Developer Guide](Documentation/project-docs/developer-guide.md) for details about developing in this repo.

Documentation/building/crossgen.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,4 @@ The following are some of the command errors while creating or using native imag
6363
- "Could not load file or assembly 'mscorlib.dll' or one of its dependencies. The native image could not be loaded, because it was generated for use by a different version of the runtime. (Exception from HRESULT: 0x80131059)": This error indicates that there is a mismatch between CrossGen and mscorlib.ni.dll. Make sure to use CrossGen and mscorlib.ni.dll from the same build or NuGet package.
6464
- "Error: Could not load file or assembly '...' or one of its dependencies. The system cannot find the file specified. (Exception from HRESULT: 0x80070002)": CrossGen wasn't able to find a particular dependency that it needs. Verify that you have the assembly specified in the error message, and make sure its location is included in `/Platform_Assemblies_Paths`.
6565
- CoreCLR unable to initialize: While there are many possible causes of this error, one possibility is a mismatch between mscorlib.ni.dll and coreclr.dll (or libcoreclr.so). Make sure they come from the same build or NuGet package.
66+
- "Unable to load Jit Compiler": Please get a copy of `clrjit.dll` (or `libclrjit.so` or `libclrjit.dylib`, depending on your platform), and place it in the same directory as CrossGen. You can either build `clrjit.dll` yourself, or get it from `Microsoft.NETCore.Jit` NuGet package. To avoid possible issues, please use `clrjit.dll` from the same build as `crossgen.exe` if possible.

Documentation/project-docs/contributing-workflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ You can contribute to .NET Core with issues and PRs. Simply filing issues for pr
66
Getting Started
77
===============
88

9-
If you are looking at getting your feet wet with some simple (but still beneficial) changes, check out _up for grabs_ issues on the [CoreCLR](https://github.com/dotnet/coreclr/labels/up for grabs) and [CoreFX](https://github.com/dotnet/corefx/labels/up for grabs) repos.
9+
If you are looking at getting your feet wet with some simple (but still beneficial) changes, check out _up for grabs_ issues on the [CoreCLR](https://github.com/dotnet/coreclr/labels/up-for-grabs) and [CoreFX](https://github.com/dotnet/corefx/labels/up%20for%20grabs) repos.
1010

1111
For new ideas, please always start with an issue before starting development of an implementation. See [project priorities](project-priorities.md) to understand the Microsoft team's approach to engagement on general improvements to the product. Use [CODE_OWNERS.TXT](https://github.com/dotnet/coreclr/blob/master/CODE_OWNERS.TXT) to find relevant maintainers and @ mention them to ask for feedback on your issue.
1212

Documentation/project-docs/contributing.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,13 @@ The .NET Core copyright is held by ".NET Foundation and Contributors". See [.NET
104104
Source License
105105
--------------
106106

107-
The .NET Core project uses multiple licenses for the various project repositories. Most projects use the [MIT License](https://opensource.org/licenses/MIT) for code and the [Creative Commons Attribution 4.0 International Public License (CC-BY)](https://creativecommons.org/licenses/by/4.0/) license for documentation. The [Apache 2 License](https://opensource.org/licenses/Apache-2.0) is also used. See the license file at the root of project repos for the specific license.
107+
The .NET Core project uses multiple licenses for the various project repositories. Most projects use the [MIT License](https://opensource.org/licenses/MIT) for code and the [Creative Commons Attribution 4.0 International Public License (CC-BY)](https://creativecommons.org/licenses/by/4.0/) license for documentation. The [Apache 2 License](https://opensource.org/licenses/Apache-2.0) is also used.
108108

109-
- Example [MIT](https://opensource.org/licenses/MIT) use: [CoreCLR](https://github.com/dotnet/coreclr/blob/master/LICENSE.TXT).
110-
- Example [Apache 2](https://opensource.org/licenses/Apache-2.0) use: [Roslyn](https://github.com/dotnet/roslyn/blob/master/License.txt).
111-
- Example [CC-BY](https://creativecommons.org/licenses/by/4.0/) use: [core-docs](https://github.com/dotnet/core-docs/blob/master/license.txt).
109+
See the license file at the root of project repositories for the specific license, such as with the following examples:
110+
111+
- [CoreCLR](https://github.com/dotnet/coreclr/blob/master/LICENSE.TXT) [(MIT)](https://opensource.org/licenses/MIT).
112+
- [Roslyn](https://github.com/dotnet/roslyn/blob/master/License.txt) [(Apache 2)](https://opensource.org/licenses/Apache-2.0).
113+
- [core-docs](https://github.com/dotnet/core-docs/blob/master/license.txt) [(CC-BY)](https://creativecommons.org/licenses/by/4.0/).
112114

113115
Binary License
114116
--------------

Documentation/project-docs/glossary.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,18 @@ This glossary defines terms, both common and more niche, that are important to u
55

66
As much as possible, we should link to the most authoritative and recent source of information for a term. That approach should be the most helpful for people who want to learn more about a topic.
77

8-
* CLR: Common Language Runtime
8+
* BOTR: Book Of The Runtime.
9+
* CLR: Common Language Runtime.
910
* COMPlus: An early name for the .NET platform, back when it was envisioned as a successor to the COM platform (hence, "COM+"). Used in various places in the CLR infrastructure, most prominently as a common prefix for the names of internal configuration settings. Note that this is different from the product that eventually ended up being named [COM+](https://msdn.microsoft.com/en-us/library/windows/desktop/ms685978.aspx).
1011
* COR: [Common Object Runtime](http://www.danielmoth.com/Blog/mscorlibdll.aspx). The name of .NET before it was named .NET.
1112
* DAC: Data Access Component. An abstraction layer over the internal structures in the runtime.
1213
* EE: Execution Engine.
14+
* GC: [Garbage Collector](https://github.com/dotnet/coreclr/blob/master/Documentation/botr/garbage-collection.md).
15+
* JIT: [Just-in-Time](https://github.com/dotnet/coreclr/blob/master/Documentation/botr/ryujit-overview.md) compiler. RyuJIT is the code name for the next generation Just-in-Time(aka "JIT") for the .NET runtime.
1316
* LCG: Lightweight Code Generation. An early name for [dynamic methods](https://github.com/dotnet/coreclr/blob/master/src/mscorlib/src/System/Reflection/Emit/DynamicMethod.cs).
17+
* NGen: Native Image Generator.
1418
* PAL: [Platform Adaptation Layer](http://archive.oreilly.com/pub/a/dotnet/2002/03/04/rotor.html). Provides an abstraction layer between the runtime and the operating system
19+
* PE: Portable Executable.
1520
* ProjectN: Codename for the first version of [.NET Native for UWP](https://msdn.microsoft.com/en-us/vstudio/dotnetnative.aspx).
1621
* ReadyToRun: A flavor of native images - command line switch of [crossgen](https://github.com/dotnet/coreclr/blob/master/src/tools/crossgen/crossgen.cpp). We do plan to add docs as part of [#227](https://github.com/dotnet/coreclr/issues/227).
1722
* Redhawk: Codename for experimental minimal managed code runtime that evolved into [CoreRT](https://github.com/dotnet/corert/).

THIRD-PARTY-NOTICES

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,65 @@ TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
3939
BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
4040
HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
4141
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
42+
43+
License notice for The LLVM Compiler Infrastructure
44+
---------------------------------------------------
45+
==============================================================================
46+
LLVM Release License
47+
==============================================================================
48+
University of Illinois/NCSA
49+
Open Source License
50+
51+
Copyright (c) 2003-2015 University of Illinois at Urbana-Champaign.
52+
All rights reserved.
53+
54+
Developed by:
55+
56+
LLVM Team
57+
58+
University of Illinois at Urbana-Champaign
59+
60+
http://llvm.org
61+
62+
Permission is hereby granted, free of charge, to any person obtaining a copy of
63+
this software and associated documentation files (the "Software"), to deal with
64+
the Software without restriction, including without limitation the rights to
65+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
66+
of the Software, and to permit persons to whom the Software is furnished to do
67+
so, subject to the following conditions:
68+
69+
* Redistributions of source code must retain the above copyright notice,
70+
this list of conditions and the following disclaimers.
71+
72+
* Redistributions in binary form must reproduce the above copyright notice,
73+
this list of conditions and the following disclaimers in the
74+
documentation and/or other materials provided with the distribution.
75+
76+
* Neither the names of the LLVM Team, University of Illinois at
77+
Urbana-Champaign, nor the names of its contributors may be used to
78+
endorse or promote products derived from this Software without specific
79+
prior written permission.
80+
81+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
82+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
83+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
84+
CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
85+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
86+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
87+
SOFTWARE.
88+
89+
License notice for Bit Twiddling Hacks
90+
--------------------------------------
91+
92+
Bit Twiddling Hacks
93+
94+
By Sean Eron Anderson
95+
96+
97+
Individually, the code snippets here are in the public domain (unless otherwise
98+
noted) — feel free to use them however you please. The aggregate collection and
99+
descriptions are © 1997-2005 Sean Eron Anderson. The code and descriptions are
100+
distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY and
101+
without even the implied warranty of merchantability or fitness for a particular
102+
purpose.
103+

clean.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if [ $# == 0 ]; then
2525
clean_packages=true
2626
fi
2727

28-
while [[ $# > 0 ]]
28+
while [[ $# -gt 0 ]]
2929
do
3030
opt="$1"
3131
case $opt in

dir.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
<ProjectUrl>https://dot.net</ProjectUrl>
154154

155155
<!-- PreReleaseSuffix for packages published from closed build (e.g. CoreCLR for Arm32, APISet, etc) -->
156-
<ExternalExpectedPrerelease>beta-24320-00</ExternalExpectedPrerelease>
156+
<ExternalExpectedPrerelease>beta-24326-00</ExternalExpectedPrerelease>
157157

158158
<!-- On Windows, MSbuild still runs against Desktop FX while it runs on .NET Core on non-Windows. this requires
159159
pulling in different packaging dependencies.

functions.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ endfunction(convert_to_absolute_path)
4747
#Preprocess exports definition file
4848
function(preprocess_def_file inputFilename outputFilename)
4949
get_compile_definitions(PREPROCESS_DEFINITIONS)
50-
50+
get_include_directories(ASM_INCLUDE_DIRECTORIES)
5151
add_custom_command(
5252
OUTPUT ${outputFilename}
53-
COMMAND ${CMAKE_CXX_COMPILER} /P /EP /TC ${PREPROCESS_DEFINITIONS} /Fi${outputFilename} ${inputFilename}
53+
COMMAND ${CMAKE_CXX_COMPILER} ${ASM_INCLUDE_DIRECTORIES} /P /EP /TC ${PREPROCESS_DEFINITIONS} /Fi${outputFilename} ${inputFilename}
5454
DEPENDS ${inputFilename}
5555
COMMENT "Preprocessing ${inputFilename}"
5656
)
@@ -185,4 +185,4 @@ function(_install)
185185
if(NOT DEFINED CLR_CROSS_COMPONENTS_BUILD)
186186
install(${ARGV})
187187
endif()
188-
endfunction()
188+
endfunction()

0 commit comments

Comments
 (0)