summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2016-01-31Enabling profiling on Unix/OS X.Andreas Strid18-57/+94
2016-01-04Merge pull request #2474 from gkhanna79/FixArm64Gaurav Khanna1-1/+11
Arm64 build fixes
2016-01-04Merge pull request #2513 from taylorjonl/call-to-sqrt-is-ambiguousJan Kotas1-3/+3
Fix "call to 'sqrt' is ambiguous" error when building on SunOS
2016-01-04Fix "call to 'sqrt' is ambiguous" error when building on SunOSJonathan Taylor1-3/+3
Building on SunOS will fail with the message of "call to 'sqrt' is ambiguous" because it can't determine the type of the constant value passed to it. This change adds a cast to a double because every usage uses this data type
2016-01-03Merge pull request #2461 from LLITCHEV/GetTypeIntrinsicLubomir Litchev2-1/+17
Fix a bug in morphing GT_COMMA with op1 being the new GetType() intri…
2016-01-03Merge pull request #2505 from mikedn/deadcodeJan Kotas1-4/+0
Remove dead code from JIT's earlyprop.cpp
2016-01-03Merge pull request #2498 from taylorjonl/smartosJan Kotas1-1/+23
Fixed issue where files in /opt/local/include are not found and LTTng is required on SmartOS
2016-01-03Fix a bug in morphing GT_COMMA with op1 being the new GetType() intrinsic.Lubomir Litchev2-1/+17
The GetType intrinsic is side effect free and the morphing of GT_COMMA is optimizing out side effect free op1a. The native implementation of GetType - NativeObject::GetClass - can throw NullReferenceException and such optimizing the call out is illegal in such case. Also added GTF_EXCEPT to the intrinsic node to note the other optimizers that the call can throw an exception. The coreclr and corefx tests passed. Also minimal, correct asmdifs. The daily tests passed as well.
2016-01-03Remove dead code from JIT's earlyprop.cppMike Danes1-4/+0
2016-01-01Enable ilasm round trip test for xPlatformsKyungwoo Lee1-0/+2
1. Enable CLRTest.Execute.Bash.targets similar to CLRTest.Execute.Batch.targets. 2. _IlasmSwitches uses '-' instead of '/' 3. Disable optimization on the prebuilt asmparse.c due to https://github.com/dotnet/coreclr/issues/2305
2016-01-01Fixed issue where files in /opt/local/include on SunOSJonathan Taylor1-1/+23
Modified to not require LTTng on SunOS
2015-12-31Merge pull request #2494 from ramarag/incremenatal_buildRama krishnan Raghupathy1-0/+48
Enable Incremental build
2015-12-31 Enable Incremental build For Generated FilesRama Krishnan Raghupathy1-0/+48
2015-12-30Add .gitmirrorall directiveJan Kotas1-0/+1
[tfs-changeset: 1560604]
2015-12-29Incorporate PR feedbackGaurav Khanna (CLR)1-1/+1
2015-12-29Merge pull request #2464 from ramarag/event_logging_automationRama krishnan Raghupathy33-43989/+1555
Automating Event Logging Infrastructure
2015-12-29Merge pull request #2475 from kyulee1/fixilasmKyungwoo Lee1-7/+4
Fix assertion in ilasm
2015-12-28Automating Event Logging Infrastructure: With this change the infrastructure ↵Rama33-43989/+1555
required for Event Logging will be generated as part of build
2015-12-28Fix assertion in ilasmKyungwoo Lee1-7/+4
This is a simple fix for incorrect assertion. Assertion location is changed and dwErrorIndex is zero-initialized. ilasm on coreclr does not handle permission set/security attribute which coreclr does not support. So, such attempt will end up with emitting error on coreclr instead of failing to assert.
2015-12-28Arm64 build fixesGaurav Khanna (CLR)1-1/+11
2015-12-25Fix build break in internal arm64 buildJan Kotas1-0/+1
[tfs-changeset: 1559946]
2015-12-24Fix build breaks in internal x86 and arm buildsJan Kotas3-1/+19
[tfs-changeset: 1559929]
2015-12-24Follow up fixes and cleanup for GC refactoringJan Kotas3-10/+5
[tfs-changeset: 1559927]
2015-12-24Merge pull request #2244 from janvorli/gc-interface-refactoring-newJan Kotas59-1533/+2593
GC OS interface refactoring
2015-12-24GC OS interface refactoringJan Vorlicek59-1533/+2593
This change replaces all calls of OS specific functions in the GC by a call to a platform agnostic interface. Critical sections were abstracted too. The logging file access was changed to use CRT functions instead of Windows specific APIs. A "size" member was added to the card_table_info so that we can pass the right size to the VirtualRelease method when destroying the card table. I have also fixed a bug in the gc_heap::make_card_table error path where when VirtualCommit failed, it called VirtualRelease with size that was not the reserved size, but the committed size. Other related changes - All interlocked operations moved to Interlocked class as static methods - Removed unused function prototypes - Shuffled stuff in the root CMakeLists.txt to enable building the GC sample using the settings inherited from the root CMakeLists.txt and to clean up some things that have rotted over time, like the FEATURE_xxx macros not being in one alphabetically ordered block - Fixed the VOLATILE_MEMORY_BARRIER macro in the gcenv.base.h - Replaced uint32_t thread id by EEThreadId - Removed thread handles storage (g_gc_thread) from the GC. The thread handle is closed right after the thread is launched. That allowed me to get rid of the GCThreadHandle - Renamed the methods of the EEThreadId to be easier to understand - Moved the gcenv.windows.cpp and gcenv.unix.cpp to the sample folder
2015-12-23Merge pull request #1452 from akoeplinger/dictionary-duplicatekeyWes Haggard3-0/+13
Dictionary: include the key in the "duplicate key" exception message
2015-12-23Merge pull request #2463 from kyulee1/fixinfKyungwoo Lee3-6/+13
Fix for special number handling in ildasm
2015-12-23Fix for special number handling in ildasmKyungwoo Lee3-6/+13
During the test bring-up, I noticed that _gcvt_s (CRT call) has slightly different output for special number like NAN/INF in between VS2013 and VS2015. For instance, the former prints "1.#INF" while the latter prints "inf". Unfortunately ildasm checks "#" to detect such case. The fix here is to add an explicit check if string contains "inf"/"nan".
2015-12-21Merge pull request #2425 from erozenfeld/CheckedBuildJan Kotas6-8/+23
Enable checked builds of CoreCLR.
2015-12-21Merge pull request #2424 from erozenfeld/TailRecursionToLoopFixEugene Rozenfeld1-1/+3
Fix for a bug in recursive tail call to loop transformation.
2015-12-21Enable checked builds of CoreCLR.Eugene Rozenfeld6-8/+23
In checked builds coreclr, mscorlib, and the test are built optimized but assertion checking is on. This adds additional coverage (the jit is optimizing and assertion checking is on), speeds up testing compared to debug, and allows testing JIT stress modes. This doesn't affect CoreFX. Several tests are currently failing in checked configuration due to newly discovered bugs (JIT asserts). We didn't see these asserts in debug mode because by default JIT is in minopt mode; we didn't see these bugs in release mode because assertion checking is off. I will file the bugs once checked build changes are in.
2015-12-21Fix for a bug in recursive tail call to loop transformation.Eugene Rozenfeld1-1/+3
The bug affects recursive tail calls where there is both a this arg and an argument passed in outgoing arg space. I brought over RecursiveTailCall tests and added TestStackParam test that was a repro for the bug.
2015-12-21Merge pull request #2428 from taylorjonl/smartosJan Kotas1-2/+4
Initial support for building on SmartOS
2015-12-19Initial support for building on SmartOStaylorjonl1-2/+4
2015-12-18Fix infinite recursion in hostimpl.cppMatt Ellis1-1/+1
WaitForSingleObject was calling itself instead of delegating to WaitForSingleObjectEx.
2015-12-18Merge pull request #2378 from ellismg/revert-29ce4f6Jan Kotas1-18/+0
Revert 29ce4f6
2015-12-17Merge pull request #2381 from davmason/masterVance Morrison1-5/+4
Fix EventSource.IsDisposed to correctly indicate that it has been disposed
2015-12-17Revert 29ce4f6Matt Ellis1-18/+0
29ce4f6 worked around an issue where we were exporting C++ operators which caused some problems on OSX in some interop cases (see dotnet/coreclr#946 and dotnet/coreclr#943 for more details). With dotnet/coreclr#1065 we no longer export all symbols from libcoreclr so these additional attributes are redudent and they cause issues when trying to build with clang 3.7. This commit removes them. I verified that the sample AppKit app continues to work even with these changes.
2015-12-17Merge pull request #2375 from LLITCHEV/FixIssue1884AgainLubomir Litchev1-1/+1
Fix a bad conflict resolution.
2015-12-17Fix a bad conflict resolution.Lubomir Litchev1-1/+1
It appears the latest FI of the 4.6.1 wrok has overriden one of the tail call fixes for System V struct passing. This change is fixing the problem by putting back the right code.
2015-12-17Merge pull request #2369 from speshuric/bug/2366Jan Kotas1-4/+1
Fix System.Collections.BitArray.Clone() fails when Length near Int32.MaxValue
2015-12-16Update GC from CoreRTJan Kotas3-27/+120
https://github.com/dotnet/corert/tree/master/src/Native/gc e223e35867c4660fe8423fedb2e547152dd7fd2d
2015-12-16Merge pull request #2368 from jkotas/rename-gcscanJan Kotas12-78/+71
Rename CNameSpace to GCScan
2015-12-16Fix build break in internal buildJan Kotas1-1/+1
[tfs-changeset: 1558334]
2015-12-16Rename CNameSpace to GCScanJan Kotas12-78/+71
2015-12-17Fix System.Collections.BitArray.Clone() fails when Length near Int32.MaxValueAlexander Speshilov1-4/+1
2015-12-16Merge pull request #2358 from jkotas/corert-jitdumpJan Kotas4-36/+89
Make JitDump work in ilc.exe
2015-12-16Make JitDump work in ilc.exeJan Kotas4-36/+89
The JIT is not expected to make assumption about format of raw signatures to parse them. Instead, it should depend on JIT-EE interface for parsing. This invariant was violates in couple of places related to debug COMPlus_ method filters that caused them to crash under CoreRT. Fixed the filters to use the proper abstraction instead.
2015-12-16Linux arm64 build fix.jashook2-12/+12
The fi introduced an arm64 define that was not picked up as a compiled error by x64. Verified with clang-3.6.
2015-12-16Merge pull request #2363 from BruceForstall/FixConfigUsageBruce Forstall1-7/+7
Fix incorrect usage of configuration variables