platform/upstream/coreclr.git
9 years agoMerge pull request #66 from cwmiller/master
Matt Mitchell [Thu, 5 Feb 2015 16:05:42 +0000 (16:05 +0000)]
Merge pull request #66 from cwmiller/master

Fix build.sh variables

9 years agoMerge pull request #42 from pborreli/typos
Jan Kotas [Thu, 5 Feb 2015 07:44:16 +0000 (23:44 -0800)]
Merge pull request #42 from pborreli/typos

Fixed typos

9 years agoMerge pull request #80 from sergiy-k/binplace-on-linux
Jan Kotas [Thu, 5 Feb 2015 00:58:52 +0000 (16:58 -0800)]
Merge pull request #80 from sergiy-k/binplace-on-linux

Enable binplacing of native CoreCLR binaries on Linux

9 years agoEnable binplacing of native CoreCLR binaries on Linux
Sergiy Kuryata [Wed, 4 Feb 2015 21:59:44 +0000 (13:59 -0800)]
Enable binplacing of native CoreCLR binaries on Linux

This change adds support for binplacing native CoreCLR binaries on Linux to "$__RootBinDir/Product/$__BuildArch/$__BuildType". It reuses the mechanism that we currently have in place for Windows. Similarly to binplace implementation for Windows, it sets an environment variable (__CMakeBinDir) in build.sh and then uses its value in clang-compiler-override.txt to set CMAKE_INSTALL_PREFIX to the desired target location.

9 years agoFixed variable issues in build.sh
Chase Miller [Wed, 4 Feb 2015 16:31:58 +0000 (16:31 +0000)]
Fixed variable issues in build.sh

The clean argument wasn't properly setting the __CleanBuild variable to trigger the clean build operation.
The current build target/type message was using CMD variable substitution syntax instead of BASH.

9 years agoMerge pull request #36 from benaadams/patch-1
Jan Kotas [Wed, 4 Feb 2015 21:18:29 +0000 (13:18 -0800)]
Merge pull request #36 from benaadams/patch-1

Avoid unnecessary work for identical locations in Buffer.BlockCopy

9 years agoAvoid unnecessary work for identical locations in Buffer.BlockCopy
Ben Adams [Tue, 3 Feb 2015 21:41:36 +0000 (21:41 +0000)]
Avoid unnecessary work for identical locations in Buffer.BlockCopy

Perform validity checks to ensure parameters are correct but short-circuit
out memmove when exactly the same data would be copied to the same location.

There are a number of occasions; which can be intentional or unintentional,
where the buffer being copied is the same place - e.g an internal buffer is
the same as the return buffer, and there is no need to call memmove's
overwrite safe copy.

Generally the call to BlockCopy will be in a library so it is more practical
to enable the check here rather than alter all the calling functions,
including 3rd party libraries to preform additional checks.

9 years agoMerge pull request #64 from gablank/linux-build-args
AlexGhiondea [Wed, 4 Feb 2015 19:09:39 +0000 (11:09 -0800)]
Merge pull request #64 from gablank/linux-build-args

Update usage text to show correct arguments.

9 years agoMerge pull request #71 from Alexx999/fix_issue_68
AlexGhiondea [Wed, 4 Feb 2015 18:54:14 +0000 (10:54 -0800)]
Merge pull request #71 from Alexx999/fix_issue_68

Fix build inside badly named directory

9 years agoUpdate usage text to show correct arguments.
Anders Wenhaug [Wed, 4 Feb 2015 18:41:24 +0000 (19:41 +0100)]
Update usage text to show correct arguments.

The usage text printed the arguments with a capital letter,
whilst the script looked for the same arguments but without
the leading capital letter.

Also reordered the argument help list so it is in the same
order as the script accepts them.

9 years agoFixed typos
Pascal Borreli [Wed, 4 Feb 2015 00:50:32 +0000 (00:50 +0000)]
Fixed typos

9 years agoFix build failure with message "Cannot create a package that has no dependencies...
Alexander Vostres [Wed, 4 Feb 2015 17:47:56 +0000 (19:47 +0200)]
Fix build failure with message "Cannot create a package that has no dependencies nor content." #68

9 years agoMerge pull request #67 from mogemimi/fix-typo
Jan Kotas [Wed, 4 Feb 2015 17:29:46 +0000 (09:29 -0800)]
Merge pull request #67 from mogemimi/fix-typo

Fix typo: VT_UNKOWN -> VT_UNKNOWN

9 years agoMerge pull request #56 from maksqwe/fix_get_jit_manager_list
Matt Mitchell [Wed, 4 Feb 2015 17:23:22 +0000 (17:23 +0000)]
Merge pull request #56 from maksqwe/fix_get_jit_manager_list

Fix "pNeeded" increment in GetJitManagerList()

9 years agoFix typo: VT_UNKOWN -> VT_UNKNOWN
mogemimi [Wed, 4 Feb 2015 16:36:02 +0000 (01:36 +0900)]
Fix typo: VT_UNKOWN -> VT_UNKNOWN

9 years agoMerge pull request #62 from GeorgeSapkin/comments
Jan Kotas [Wed, 4 Feb 2015 16:10:02 +0000 (08:10 -0800)]
Merge pull request #62 from GeorgeSapkin/comments

Fixed typos

9 years agoMerge pull request #53 from ellismg/clean-unicode-characters
Jan Kotas [Wed, 4 Feb 2015 16:07:42 +0000 (08:07 -0800)]
Merge pull request #53 from ellismg/clean-unicode-characters

Remove non ASCII characters from source files

9 years agoMerge pull request #58 from ellismg/fix-h2inc-line-wrapping
Jan Kotas [Wed, 4 Feb 2015 15:20:04 +0000 (07:20 -0800)]
Merge pull request #58 from ellismg/fix-h2inc-line-wrapping

Fix h2inc.ps1 generating invalid files on Windows 7

9 years agoMerge pull request #46 from AlexGhiondea/master
Jan Kotas [Wed, 4 Feb 2015 15:19:17 +0000 (07:19 -0800)]
Merge pull request #46 from AlexGhiondea/master

Remove extraneous mscorlib.txt file

9 years agoFixed type: more_spacee_lock > more_space_lock
George Sapkin [Wed, 4 Feb 2015 14:42:03 +0000 (15:42 +0100)]
Fixed type: more_spacee_lock > more_space_lock

9 years agoFixed typo: gc_reaon > gc_reason
George Sapkin [Wed, 4 Feb 2015 14:27:35 +0000 (15:27 +0100)]
Fixed typo: gc_reaon > gc_reason

9 years agoFix h2inc.ps1 generating invalid files on Windows 7
Matt Ellis [Wed, 4 Feb 2015 09:27:56 +0000 (01:27 -0800)]
Fix h2inc.ps1 generating invalid files on Windows 7

On PowerShell 2.0, text written via Write-Output is wrapped based on
the current console settings, even when output is redirected to a
file. This means that the include file we generate will have lines
hard wrapped unless the console is configured to have a width of >
~140 characters. PowerShell 3.0 doesn't seem to have this issue (or
the default width is high enought that we don't run into the
limitation), but PowerShell 2.0 is the default on Windows 7.

This fix explicitly calls Console.WriteLine, which will cause the
output to not be wrapped. Doing things this way means we don't have to
play around with the host's buffer size.

Fixes #57

9 years agoFix "pNeeded" increment in GetJitManagerList()
Maks Naumov [Wed, 4 Feb 2015 08:26:41 +0000 (10:26 +0200)]
Fix "pNeeded" increment in GetJitManagerList()

"++" has a higher priority than "*".

9 years agoRemove non ASCII characters from source files
Matt Ellis [Wed, 4 Feb 2015 03:27:37 +0000 (19:27 -0800)]
Remove non ASCII characters from source files

Our native files were more or less encoded in Windows-1252, which
causes problems when we try to compile them on machines where the
current codepage can't represent everything that Windows-1252
can. With this conversion I just moved characters to their ASCII
counterparts (e.g. no smart quotes, the section marker glyph is now
"Section"). There were two places where I couldn't do the straight
forward thing, in object.h we wanted to insert the Per Mille symbol in
a comment so instead I just spelled out the Unicode codepoint. In
morph.cpp, there was a comment pointing to a paper by Torbjörn
Granlund (note the diaeresis above the second o).  In this case,
unfortuntely I had to just drop the diaeresis.  However, searching for
"Torbjorn Granlund" will lead you to the right person.

Fixes #49

9 years agoMerge pull request #48 from ellismg/move-shebang-to-top-of-file
Sergiy Kuryata [Wed, 4 Feb 2015 03:05:58 +0000 (19:05 -0800)]
Merge pull request #48 from ellismg/move-shebang-to-top-of-file

Move shebang to top of shell scripts

9 years agoMerge pull request #23 from adityam/patch-2
Rich Lander [Wed, 4 Feb 2015 02:11:58 +0000 (18:11 -0800)]
Merge pull request #23 from adityam/patch-2

Correct typo and link to the correct license file

9 years agoMove shebang to top of shell scripts
Matt Ellis [Wed, 4 Feb 2015 02:08:38 +0000 (18:08 -0800)]
Move shebang to top of shell scripts

This line should be at the top of the file, not after
comments. Otherwise the correct shell is not picked in some cases
(like when you the scripts file via sudo).

9 years agoMerge pull request #41 from dotnet-bot/from-tfs
Matt Ellis [Wed, 4 Feb 2015 01:27:04 +0000 (17:27 -0800)]
Merge pull request #41 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoRemove extraneous mscorlib.txt file
alexghiondea [Wed, 4 Feb 2015 00:02:50 +0000 (16:02 -0800)]
Remove extraneous mscorlib.txt file

9 years agoMove the windows unwinder code out of the debug folder.
Jan Vorlicek [Wed, 4 Feb 2015 00:02:18 +0000 (16:02 -0800)]
Move the windows unwinder code out of the debug folder.

It is a preparation for using the DAC unwinder code  as an unwinder
for the jitted code on Linux, because the jitter generates windows
style unwind info.
The unwinder is build as a static library and linked to mscordac.

[tfs-changeset: 1409640]

9 years agoMerge pull request #35 from SirCmpwn/fix-linux-build
Jan Vorlicek [Tue, 3 Feb 2015 23:19:03 +0000 (00:19 +0100)]
Merge pull request #35 from SirCmpwn/fix-linux-build

Fix error locating llvm-ar during build on Linux

9 years agoMerge pull request #38 from ramarag/GC_test
Rama krishnan Raghupathy [Tue, 3 Feb 2015 23:00:38 +0000 (15:00 -0800)]
Merge pull request #38 from ramarag/GC_test

Fixes #37 Missing Files to build GC stress Tests

9 years agoFix error locating llvm-ar during build on Linux
Drew DeVault [Tue, 3 Feb 2015 21:31:21 +0000 (14:31 -0700)]
Fix error locating llvm-ar during build on Linux

This manually locates the llvm toolchain and sets the relevant cmake
variables. The _CMAKE_TOOLCHAIN_PREFIX variable is internal and
undocumented and should probably be avoided.

9 years agoMissing Files to build GC stress Tests
Rama krishnan Raghupathy [Tue, 3 Feb 2015 22:05:49 +0000 (14:05 -0800)]
Missing Files to build GC stress Tests

9 years agoMerge pull request #32 from jasssonpet/master
Jan Kotas [Tue, 3 Feb 2015 21:58:45 +0000 (13:58 -0800)]
Merge pull request #32 from jasssonpet/master

Correct typos in paraminstanceapi.h

9 years agoUpdate link in PATENTS.txt
dotnet-bot [Tue, 3 Feb 2015 21:54:22 +0000 (13:54 -0800)]
Update link in PATENTS.txt

9 years agoCorrect typos in paraminstanceapi.h
Jason Zhekov [Tue, 3 Feb 2015 20:42:57 +0000 (22:42 +0200)]
Correct typos in paraminstanceapi.h

9 years agoMerge pull request #20 from ellismg/fix-mscorlib-warnings
Matt Ellis [Tue, 3 Feb 2015 19:15:38 +0000 (11:15 -0800)]
Merge pull request #20 from ellismg/fix-mscorlib-warnings

Fix mscorlib warnings.

9 years agoMerge pull request #21 from AlexGhiondea/master
Matt Ellis [Tue, 3 Feb 2015 19:15:34 +0000 (11:15 -0800)]
Merge pull request #21 from AlexGhiondea/master

Update copyright header

9 years agoMerge pull request #24 from DnlHarvey/patch-2
Matt Ellis [Tue, 3 Feb 2015 19:15:23 +0000 (11:15 -0800)]
Merge pull request #24 from DnlHarvey/patch-2

Update README.md

9 years agoUpdate README.md
Daniel Harvey [Tue, 3 Feb 2015 19:05:41 +0000 (11:05 -0800)]
Update README.md

- Fix the coreclr blog post to go to the right link.

9 years agoMerge pull request #19 from weshaggard/FixCMakeMessage
Gaurav Khanna [Tue, 3 Feb 2015 19:03:27 +0000 (11:03 -0800)]
Merge pull request #19 from weshaggard/FixCMakeMessage

Update the CMake requirement message in build.cmd.

9 years agoCorrect typo and link to the correct license file
Aditya Mahajan [Tue, 3 Feb 2015 18:57:59 +0000 (13:57 -0500)]
Correct typo and link to the correct license file

9 years agoUpdate copyright header
dotnet-bot [Tue, 3 Feb 2015 18:27:36 +0000 (10:27 -0800)]
Update copyright header

9 years agoUpdate the CMake requirement message in build.cmd.
Wes Haggard [Tue, 3 Feb 2015 18:23:59 +0000 (10:23 -0800)]
Update the CMake requirement message in build.cmd.

9 years agoFix mscorlib warnings.
Matt Ellis [Tue, 3 Feb 2015 18:18:32 +0000 (10:18 -0800)]
Fix mscorlib warnings.

PinnableBufferCache uses some of the declaritive CAS attributes which
don't mean anything on CoreCLR. We had disabled this warning
internally, but this copy of the file is specific to open source and
we didn't disable it in this file.

This simply ports the change to disable this warning to mscorlib's
copy of the file.

9 years agoMerge pull request #18 from mmitche/update-job-names
Matt Mitchell [Tue, 3 Feb 2015 18:03:55 +0000 (18:03 +0000)]
Merge pull request #18 from mmitche/update-job-names

Update job names

9 years agoUpdate job names
Matt Mitchell [Tue, 3 Feb 2015 18:02:50 +0000 (10:02 -0800)]
Update job names

9 years agoMerge pull request #15 from xyziemba/master
Gaurav Khanna [Tue, 3 Feb 2015 13:00:32 +0000 (05:00 -0800)]
Merge pull request #15 from xyziemba/master

Parallelize Linux build by adding "-j `nproc`" to make

9 years agoMerge pull request #13 from ramarag/GC_test_build
Rama krishnan Raghupathy [Tue, 3 Feb 2015 07:29:55 +0000 (23:29 -0800)]
Merge pull request #13 from ramarag/GC_test_build

Enabling GC Stress test build

9 years agoParallelize Linux build by adding "-j `nproc`" to make
Xy Ziemba [Tue, 3 Feb 2015 07:18:05 +0000 (23:18 -0800)]
Parallelize Linux build by adding "-j `nproc`" to make

9 years agoMerge pull request #14 from dotnet-bot/from-tfs
Matt Ellis [Tue, 3 Feb 2015 06:18:23 +0000 (22:18 -0800)]
Merge pull request #14 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoThis change fixes a potential problem in unwinding on Linux. PUSH and POP instruction...
Lubomir Litchev [Tue, 3 Feb 2015 05:19:02 +0000 (21:19 -0800)]
This change fixes a potential problem in unwinding on Linux. PUSH and POP instructions were used to preserve RSI/RDI on the stack when stosd instructions are used to initialize the stack vars. These registers are used as the first two parameters to pass parameters to a callee.
The change makes sure there is a FrameRegisterUsed if these PUSH/POPs need to occur. If there is no FrameRegister, the unwinding, if attempted between the first PUSH and the last POP would cause incorrect unwinding of the stack.

SharedCodebaseChange: Yes
SharedCodebaseChangeRisk: Low

[tfs-changeset: 1409112]

9 years agoUpdate stress_run_readme.txt
Rama krishnan Raghupathy [Tue, 3 Feb 2015 00:54:25 +0000 (16:54 -0800)]
Update stress_run_readme.txt

typo

9 years agoMerge pull request #4 from ramarag/msic_test_cleanup
Rama krishnan Raghupathy [Tue, 3 Feb 2015 00:49:53 +0000 (16:49 -0800)]
Merge pull request #4 from ramarag/msic_test_cleanup

Changes to Miscellaneous test project and runtest

9 years agoMerge pull request #11 from dotnet-bot/from-tfs
Matt Mitchell [Tue, 3 Feb 2015 00:47:24 +0000 (00:47 +0000)]
Merge pull request #11 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoEnabling build of GC stress Test
Rama krishnan Raghupathy [Tue, 3 Feb 2015 00:17:40 +0000 (16:17 -0800)]
Enabling build of GC stress Test

9 years agoUpdate runtest.cmd
Rama krishnan Raghupathy [Tue, 3 Feb 2015 00:12:13 +0000 (16:12 -0800)]
Update runtest.cmd

9 years agoMerge pull request #12 from mmitche/build-status-table
Matt Mitchell [Mon, 2 Feb 2015 23:47:11 +0000 (23:47 +0000)]
Merge pull request #12 from mmitche/build-status-table

Add release build badge for linux now that it's working

9 years agoMerge pull request #10 from mmitche/linux-release-build
Matt Mitchell [Mon, 2 Feb 2015 23:19:39 +0000 (23:19 +0000)]
Merge pull request #10 from mmitche/linux-release-build

Linux release build

9 years agoMerge pull request #9 from mmitche/fix-out-of-dir-builds
Matt Mitchell [Mon, 2 Feb 2015 23:05:08 +0000 (23:05 +0000)]
Merge pull request #9 from mmitche/fix-out-of-dir-builds

Builds should work from non-root directories

9 years agoMerge pull request #5 from jkotas/master
Gaurav Khanna [Mon, 2 Feb 2015 22:26:32 +0000 (14:26 -0800)]
Merge pull request #5 from jkotas/master

Fix build breaks in GC sample project

9 years agoMerge pull request #3 from dotnet-bot/from-tfs
Gaurav Khanna [Mon, 2 Feb 2015 22:25:40 +0000 (14:25 -0800)]
Merge pull request #3 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoMerge pull request #7 from mmitche/build-status-table
Matt Mitchell [Mon, 2 Feb 2015 22:10:37 +0000 (22:10 +0000)]
Merge pull request #7 from mmitche/build-status-table

Build status table

9 years agoAdd release build badge for linux now that it's working
Matt Mitchell [Mon, 2 Feb 2015 22:03:40 +0000 (14:03 -0800)]
Add release build badge for linux now that it's working

9 years agoBuilds should work from non-root directories
Matt Mitchell [Mon, 2 Feb 2015 21:56:58 +0000 (13:56 -0800)]
Builds should work from non-root directories

9 years agoAdd a bit more logging and remove meaningless VBL_ROOT parameter
Matt Mitchell [Mon, 2 Feb 2015 21:45:11 +0000 (13:45 -0800)]
Add a bit more logging and remove meaningless VBL_ROOT parameter

9 years agoPass correct arguments to CMake for linux release build
Matt Mitchell [Mon, 2 Feb 2015 21:39:10 +0000 (13:39 -0800)]
Pass correct arguments to CMake for linux release build

9 years agoRemove old build status badge
Matt Mitchell [Mon, 2 Feb 2015 21:22:01 +0000 (13:22 -0800)]
Remove old build status badge

9 years agoReplace full build status badge with table
Matt Mitchell [Mon, 2 Feb 2015 21:10:47 +0000 (13:10 -0800)]
Replace full build status badge with table

9 years agoMerge pull request #6 from mmitche/build-status-badges
Matt Mitchell [Mon, 2 Feb 2015 18:56:52 +0000 (18:56 +0000)]
Merge pull request #6 from mmitche/build-status-badges

Add build status badge

9 years agoAdd build status badge
Matt Mitchell [Mon, 2 Feb 2015 16:15:04 +0000 (08:15 -0800)]
Add build status badge

9 years agoImprove flow of readme
Richard Lander [Sun, 1 Feb 2015 22:06:28 +0000 (14:06 -0800)]
Improve flow of readme

9 years agoUpdate buildtest.cmd
Rama krishnan Raghupathy [Sun, 1 Feb 2015 01:30:44 +0000 (17:30 -0800)]
Update buildtest.cmd

deleted a new line

9 years agoMaking style changes from PR feedback
Rama krishnan Raghupathy [Sun, 1 Feb 2015 01:13:57 +0000 (17:13 -0800)]
Making style changes from PR feedback

9 years agoFix build breaks in GC sample project
Jan Kotas [Sat, 31 Jan 2015 05:10:22 +0000 (21:10 -0800)]
Fix build breaks in GC sample project

9 years agoReplaced compiler option to disabled all warnings in Linux build by options for expli...
Jan Vorlicek [Sat, 31 Jan 2015 09:26:55 +0000 (01:26 -0800)]
Replaced compiler option to disabled all warnings in Linux build by options for explicit disabling of specific warnings.
Fixed warnings that were not possible to disable (those that have no identifier) and few other trivial ones.
We will need to revisit the warnings fix as many as we reasonably can.

[tfs-changeset: 1408205]

9 years agoChanges to Miscellaneous test project and runtest
Rama krishnan Raghupathy [Sat, 31 Jan 2015 03:03:59 +0000 (19:03 -0800)]
Changes to Miscellaneous test project and runtest

9 years agoMerge pull request #2 from dotnet-bot/from-tfs
Matt Ellis [Sat, 31 Jan 2015 02:29:00 +0000 (18:29 -0800)]
Merge pull request #2 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoUpdate for copyright.
dotnet-bot [Sat, 31 Jan 2015 01:00:49 +0000 (17:00 -0800)]
Update for copyright.

[tfs-changeset: 1408109]

9 years agoported a fix for AV
Maoni Stephens [Sat, 31 Jan 2015 00:44:15 +0000 (16:44 -0800)]
ported a fix for AV

[tfs-changeset: 1408093]

9 years agoUpdated instructions with more explanation on how long to run stress for
Maoni Stephens [Sat, 31 Jan 2015 00:01:28 +0000 (16:01 -0800)]
Updated instructions with more explanation on how long to run stress for

[tfs-changeset: 1408043]

9 years agoMerge pull request #1 from dotnet-bot/from-tfs
Matt Ellis [Fri, 30 Jan 2015 23:52:30 +0000 (15:52 -0800)]
Merge pull request #1 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoAdd test for mscorlib.
Alex Ghiondea [Fri, 30 Jan 2015 23:09:01 +0000 (15:09 -0800)]
Add test for mscorlib.

The test will use Roslyn to compile a simple program.

[tfs-changeset: 1408001]

9 years agoInitial commit to populate CoreCLR repo
dotnet-bot [Fri, 30 Jan 2015 22:14:42 +0000 (14:14 -0800)]
Initial commit to populate CoreCLR repo

[tfs-changeset: 1407945]