summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-09-06Enable IJW Native calling managed (#19750)Morgan Brown15-10/+773
* Adds back code required to make IJW native->managed calls (if the runtime is already started) and includes a simple test.
2018-09-06Merge pull request #19296 from mikedn/cast-cgCarol Eidt11-679/+466
Refactor integer cast codegen
2018-09-06Add logging to file when CrossGen System.Private.CoreLib.dll on Unix (#19848)Egor Chesakov1-6/+9
2018-09-06Disabling the failing CoreFX tests related to ToString for negative zeroTanner Gooding1-0/+28
2018-09-06Removing i386/fptext.asm in favor of using the shared implementation in ↵Tanner Gooding3-287/+0
number.cpp
2018-09-06Updating Number.Formatting to properly print -0Tanner Gooding8-41/+130
2018-09-06Clean CodeGen::genEmitCall (#19804)Sergey Andreenko14-186/+143
* delete isProfLeaveCB from arm signature The previous implementation was done many years ago and I do not why it was done that way. * extract GetSavedSet * add isNoGCHelper * delete isNoGC arg * move declarations closer to their uses * delete isGc from genEmitCall * delete unused method declaration. * add emitNoGChelper that accepts CORINFO_METHOD_HANDLE * fix missed switch cases * add function headers * Fix feedback * Fix feedback2
2018-09-06Add native vararg test (#17707)Jarret Shook8-4/+7299
* Add native vararg testing This is a desktop test. It will be excluded for coreclr; however, decided it is worth adding to the test tree in case we ever need the coverage. * Fix several errors, and address feedback * Split long lines * Update vararg test * Fix excludes * Refernce private_corelib * Correctly build vararg test * Fix incorrect addition * Fix build break unix * Fix native build on unix * Fix entry point * Correctly pass doubles instead of floats * Correct vararg test, pass double to pinvoke methods * Remove printf tests * Fix cmake for varargnative.c * Fix cdel calling convention * Correctly pass success back to the main method * Explicitely undef cdecl * Fix some excludes and exclude the new test on x86 * Add unix exclude * Disable echo_short and correct header
2018-09-06Remove unused GenTree flags (#19840)mikedn7-78/+7
GTF_IND_ARR_LEN was set by the importer in minopts/debug mode and used only by value numbering, which does not run in minopts/debug mode. GTF_FLD_NULLCHECK was also set by the importer and not used anywhere. fgMorphField has its own opinion about when an explicit null check is needed.
2018-09-06add a regression test for Linux GC segfault. (#19820)Sergey Andreenko2-0/+142
* add test * move the test to pri1 and reduce number of iterations
2018-09-06Make cast classification arch independentMike Danes6-306/+326
2018-09-06Get rid of Lowering::getCastDescriptionMike Danes6-139/+49
2018-09-06Cleanup LinearScan::BuildCastMike Danes5-149/+66
2018-09-06Improve ARM genIntCastOverflowCheckMike Danes1-73/+66
2018-09-06Refactor genIntToIntCast on ARMMike Danes4-85/+71
2018-09-06Extract cast overflow check ARM codegen to genIntCastOverflowCheckMike Danes1-78/+106
2018-09-06Refactor genIntToIntCast on XARCHMike Danes2-224/+157
2018-09-06Add support for collectible types to SOS (#19842)Jan Vorlicek12-53/+303
* Add support for collectible types to SOS Collectible types indirectly reference managed LoaderAllocator via pointer to native AssemblyLoaderAllocator stored in their MethodTable. GC uses this relation when scanning object graph to determine which objects are rooted and which ones are not. The gcroot command in SOS doesn't understand this relation and so it is unable to find all roots for LoaderAllocator. This change fixes it. * PR feedback Make the failure to get the collectible info non-fatal to make it compatible with older runtimes.
2018-09-05[Unix|Arm64] Correct transition block for unix arm64 (#19822)Jarret Shook1-11/+11
* Correct unix transition block macro
2018-09-05Don't build and publish libcoreclr libeventprovider libeventpipe as ↵Egor Chesakov4-9/+5
crosscomponents on ARM (#19782) * Use _install to stop copying sosdocsunix.txt to crosscomponents directory in src/ToolBox/SOS/Strike/CMakeLists.txt * Use _install for coreclrpal in src/pal/src/CMakeLists.txt * Use _install for eventprovider in src/scripts/genLttngProvider.py * Unconditionally use add_library_clr and _install for eventpipe in src/scripts/genEventPipe.py
2018-09-05Updating the ilproj-sdk to support the `-RESOURCES` switchTanner Gooding1-0/+1
2018-09-05Merge pull request #19719 from dotnet/MattGal-patch-1Bruce Forstall1-27/+27
Fix typos
2018-09-05Convert all Sse2.Compare*** tests to template basedJacek Blaszczynski100-3346/+9580
2018-09-05Implement AVX2 Gather intrinsic in JITFei Peng13-50/+429
2018-09-05Add test for AVX2 gather intrinsicFei Peng12-0/+4088
2018-09-05Add managed non-const fall-back for AVX2 gather intrinsicFei Peng2-66/+882
2018-09-05Rename CarryLessMultiply to CarrylessMultiplyFei Peng2-4/+4
2018-09-05Fix ServiceController name population perf (dotnet/corefx#32072)Dan Moseley1-1/+12
* Fix ServiceController name population perf * Split tests * Remove dead field * Remove new use of DangerousGetHandle * SafeHandle all the things! * VSB #1 * VSB #2 * Fix GLE * Initialize machineName in ctor * Test for empty name ex * Null names * Inadvertent edit * Unix build * Move interop into class * Reverse SafeHandle for HAllocGlobal * Fix tests * Disable test for NETFX * CR feedback * Pattern matching on VSB * Direct call * typo Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-09-04Fix UAP build break (dotnet/corert#6287)Michal Strehovský1-3/+3
Kick registry related files out of UAP builds. Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-09-04JIT: add option to dump jit-generated debug info (#19808)Andy Ayers4-2/+17
Add dump option for debug info (like the ones we have for gc info, eh, unwind, etc) so we can more readily verify jit changes that are might impact debug info generation.
2018-09-04Virtual AttributeType property and signature generic types (#19818)Atsushi Kanamori3-4/+20
* Virtual AttributeType property and signature generic types https://github.com/dotnet/corefx/issues/31614 1. This will allow Reflection providers the option to supply the attribute type without building an entire constructor. https://github.com/dotnet/corefx/issues/31798 2. This will permit other Reflection providers to support Type.MakeGenericMethodParameter() in their implementations. * More robust argument validation. * Change parameter name
2018-09-03Deal with cross-bitness compilation warnings Pt.2 (#19781)Egor Chesakov8-13/+37
* Disable ASMCONSTANTS_C_ASSERT in cross-bitness scenario in src/vm/ceeload.cpp * Adjust MAXFIELDMARSHALERSIZE for cross-bitness scenario in src/vm/arm/cgencpu.h * Make ALLOC_ALIGN_CONSTANT host specific in src/inc/stdmacros.h * Make PRECODE_ALIGNMENT host specific in src/vm/arm/cgencpu.h * Disable unreachable code in src/vm/arm/stubs.cpp * Adjust CorDBIPC_BUFFER_SIZE for cross-bitness scenario in src/debug/inc/dbgipcevents.h * Disable warning C4359 in src/vm/arm/cgencpu.h * Deal with warning C4267: 'initializing': conversion from 'size_t' to 'int' in src/vm/stublink.cpp * Deal with warning C4267: 'initializing': conversion from 'size_t' to 'int' in src/vm/callingconvention.h * Disable unreachable REGDISPLAY constructor in src/inc/regdisp.h
2018-09-02Add modules to the heap only dump in order to have: (#19761)chrisnas1-0/+4
+ types in with sos.dumpheap -stat instead of UNKNOWN + complete stack with sos.dumpstack On a dual core machine, full=11GB, withheap=226MB, withheap(+patch)=269MB
2018-09-01i386: Fixed definition with declaration in eetoprofinterfaceimpl.cpp (#18792)sergey ignatov11-65/+96
2018-08-31Fix callKillSet for CORINFO_HELP_ASSIGN_BYREF on x64. (#19780)Sergey Andreenko2-11/+17
* Fix callKillSet for CORINFO_HELP_ASSIGN_BYREF. on x64. * Fix typos.
2018-08-31Add Avx2.Permute4x64 template based testsJacek Blaszczynski7-1/+1162
2018-08-31Implement Avx2.Permute4x64 intrinsicsJacek Blaszczynski4-0/+5
2018-08-31Fix build-test.sh wrapper build (#19779)Jarret Shook4-23/+50
* Fix build-test.sh wrapper build In addition this change creates a json file with the build info so that the wrapper build may be skipped if it was built on the same os/arch/buildtype. * Address pr feedback
2018-08-31Revert "Remove not necessary type forwarded from attributes when type comes ↵Santiago Fernandez Madero140-2/+167
from mscorlib in netfx" (#19784) This reverts commit 4fb001d431e0f44df15709f02f776e565fec14c7.
2018-08-31Fix build break in CoreRT/ProjectNJan Kotas1-1/+6
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-08-31Merge pull request #19772 from fiigii/insxorCarol Eidt3-3/+32
Fix target register false dependency of lzcnt, tzcnt, and popcnt
2018-08-31JIT: don't allocate promoted struct death vars map for clear or lookup (#19753)Andy Ayers3-8/+35
Only allocate this map if we're adding something. Refactor clearing and lookup to do minimal work if the map hasn't been allocated (and it won't have been in debug / minopts). Saves a tiny bit of throughput and memory.
2018-08-31IndexOf(char, Ordinal) use fast path (#19788)Ben Adams1-1/+1
2018-08-31Enable gc_profiling for local gc (#19777)David Mason1-11/+1
2018-08-31[local gc] move DacNotifyGCMarkEnd and AnalyzeSurvivorsRequested to ↵David Mason8-39/+71
GCToEEInterface (#19774)
2018-08-30Updating runtest.py so that it works with Python 3Tanner Gooding1-120/+120
2018-08-30Add startup hook in System.Private.CoreLib (#19486)Sven Boemer5-1/+148
* Add startup hook in System.Private.CoreLib ProcessStartupHooks can be called from the host before the user's Main entry point. It receives a list of dlls and types containing Initialize() methods that will be called, making it possible to inject managed code early during startup. * Allow ! in assembly path for startup hook and other changes Also: - Report full assembly path when startup hook assembly is not found - Remove unnecessary assert - use Type.Delimiter instead of "." * Use C# 7 tuple syntax and remove assert * Improve error handling Throw MissingMethodException only when there aren't any Initialize methods at all. When there are Initialize methods with incorrect signatures (parameters, return type, visibility, or instance methods), throw invalid signature error. This should improve diagnosability of this feature. * Remove eager check for missing startup hook assemblies * Require full assembly path and use Split(char) overload. * Remove startup hook type syntax The type is now required to be "StartupHook" (in the global namespace). * Add assembly path to startup signature exception With a hard-coded type name, printing the type.method of the startup hook in the exception will no longer be much of an aid in debugging startup hook signature issues. Adding the assembly path makes it clear which startup hook had the problem. * Use const strings * Call startup hook inside ExecuteMainMethod This way it will be called when the application is executed, but not during other uses of hosting apis that go through coreclr_create_delegate. This change will ensure that the threading state is set based on attributes in the main method, before the startup hooks run. * Run startup hooks after setting root assembly and other fixes - Run startup hooks after setting the appdomain's root assembly (visible in Assembly.GetEntryAssembly() - Make the class static - Remove debug output - Don't allocate an empty ARG_SLOT array * Allow non-public Initialize method, adjust coding style * Remove overly-specific assert
2018-08-30Update existing COM test assets (native/managed) to share CLSIDs with… ↵Aaron Robinson13-36/+68
(#19756) * Update existing COM test assets (native/managed) to share CLSIDs with other projects. * Update Interop.settings.targets None of these test changes apply to Ubuntu ARM
2018-08-30Fix target register false dependency of lzcnt, tzcnt, and popcntFei Peng3-3/+32
2018-08-30Fix CoreCLR debug launch (#19730)Andrew Au2-17/+20