summaryrefslogtreecommitdiff
path: root/src/inc
AgeCommit message (Collapse)AuthorFilesLines
2018-11-08Revert "Passing the CONTEXT in ICorDebugManagedCallback4::DataBreakpoint"Jan Kotas1-5/+3
This reverts commit 9dd2a3688320fa197a3a2a412523416f10e7fa3b.
2018-11-08Passing the CONTEXT in ICorDebugManagedCallback4::DataBreakpointAndrew Au1-3/+5
2018-11-08EventPipe support for "Parameters" (#20796)José Rivero1-25/+27
These changes enable passing "arguments" to an EventSource.
2018-11-06Pull out GetContainingObjectAndrew Au1-22/+0
2018-11-06GetContainingObject should be a method of ICorDebugValueAndrew Au1-15/+22
2018-11-06Change GetContainingObject APIAndrew Au1-4/+4
2018-11-06Fix ARM compilation issueAndrew Au1-0/+1
2018-11-06Fix a couple bugs in GetContainingObjectAndrew Au1-4/+5
2018-11-06ICorDebug API documentationAndrew Au1-3/+53
2018-11-06Turn GarbageCollection events off by default and allow VS turning them onAndrew Au1-0/+1
2018-11-06Fix collision with ICorDebugProcess9 to 10Andrew Wang1-1/+1
2018-11-06Eliminate dataBreakpointMask from ICorDebugAndrew Au1-1/+1
2018-11-06Making sure issues are tracked by TODOsAndrew Au1-0/+2
2018-11-06Firing the GC events within the thread suspensionAndrew Au2-175/+175
2018-11-06ContainerObject -> ContainingObjectAndrew Au1-1/+1
2018-11-06Pass databreakpoint mask into debuggerTom McDonald1-1/+1
2018-11-06Implement ICorDebugManagedCallback4::DataBreakpointTom McDonald1-2/+3
2018-11-06ICorDebugValue -> ICorDebugObjectValue on GetContainerObject()Andrew Au1-1/+1
2018-11-06Boilerplate for adding new DBI methodAndrew Au2-11/+11
2018-11-06Passing ICorDebugProcess instead of ICorDebugControllerAndrew Au1-2/+2
2018-11-06The GC events are now working, somewhat ...Andrew Au1-174/+175
2018-11-06Saving progress - works towards gc eventsAndrew Au1-0/+12
2018-11-06Initial data breakpoint changesCagri (Charlie) Aslan1-0/+11
temporary changes towards multiple data breakpoints add multiple hardware bp support Remove Complus.log revert log.cpp changes
2018-11-05Updating the importer to throw a NotImplementedException if it finds a ↵Tanner Gooding2-5/+7
mustExpand intrinsic that it can't expand (#20792) * Updating the importer to throw a NotImplementedException if it finds a mustExpand hwintrinsic that it can't expand * Updating the JITEEVersionIdentifier
2018-10-31Clean up string literal implicit const casting and some two-phase lookup ↵Jeremy Koritzinsky3-6/+7
nits on Windows (#20730) * Remove implicit c-string const casting and clean up some C++ standards conformance bugs. * Fix const string conversion in FCSigCheck.
2018-10-31Remove superfluous 'const' qualifier from trivial return types (#20652)Michał Janiszewski1-3/+3
The 'const' used in this context has no meaning
2018-10-15Add ARM64 support to ilasm/ilasmBruce Forstall4-3/+6
Remove IA-64/Itanium support.
2018-10-11JitEE interface additions to support object stack allocation. (#20283)Eugene Rozenfeld1-5/+14
Add two methods to JitEE interface: getHeapClassSize and canAllocateOnStack. Change JITEEVersionIdentifier.
2018-10-08Remove mentions of Rotor from codebase (#20298)Austin Wise6-55/+4
* Moving parsing from TypeNameParser ctor to a separate method. It seems a bit odd to have the constructor parsing and then use a dummy method (MakeRotorHappy) to make it look more normal. * Remove CorMarkThreadInThreadPool. It is neither referenced nor exported. * Remove reference to rotor from securitywrapper.h * Remove reference to rotor from Strike/vm.cpp. This file is only built for Windows. * Remove reference to rotor from debugreturn.h This is the only file the defines these macros, so there is no need to undef them first. * Remove unused code refering to rotor from PAL. * Remove references to Rotor from PAL. * Remove references to deleted tests from DisabledTests.txt I can't find any evidence that this file is actually used. * Remove unneeded casts. * Remove dead and misleading code from profilinghelper.cpp. FEATURE_PROFAPI_EVENT_LOGGING is always defined when PROFILING_SUPPORTED is defined. And the entire contents of profilinghelper.cpp is surrounded with "ifdef PROFILING_SUPPORTED". So all sections in "ifndef FEATURE_PROFAPI_EVENT_LOGGING" are dead. Furthermore, in coreclr this does not use the eventlog, so the macro name is misleading. * Remove dead code in excep.cpp. This entire function is surrounded with "ifndef FEATURE_PAL". * Remove refererences to rotor from safemath.h This does not appear to cause any compile problems, so nobody was using safemath.h without _ASSERTE defined. Also S_SIZE_T_WP64BUG is not used anywhere. * Remove dead code from palclr.h. I don't know why these check to see if the macro is undefined immediately after defining them. Also the comment appears to reference some unions that are no longer in this file. * Expose ISymUnmanagedWriter2 from SymWriter as required by COM. The comment talks about the C# compiler using this, however I cannot see a way for the C# compiler to get an instance of this. It is only used internally by AssemblyBuilder and not exposed otherwise. * Restore check for _ASSERTE in safemath.h. On Windows sometimes that this file is included without _ASSERTE being defined. As the existing comment suggests, it appears that SOS explicitly does not want _ASSERTE to do anything.
2018-10-07Remove mention of rotor from comments (#20297)Austin Wise4-13/+7
* Remove old reference to Rotor in documentation. All remaining references relate to rotor's role in CoreCLR history. * Remove rotor comment from enummem.cpp. I can find no evidence that the presence of g_pStressLog is conditional on FEATURE_PAL being defined. * Remove old todo, DbgDllMain looks for thread detach. * Update nativepipeline.h comment refernce to rotor. All unix-like systems except android have FEATURE_DBGIPC_TRANSPORT_DI defined, hence "most unix-like platforms". * Update some comments to not refer to Rotor. * Remove some more references to Rotor from comments. * Remove old comment. Though maybe this macro should be removed and everywhere use the & operator. It appears there are only two places that use this macro.
2018-10-05Enable Config-File Based Control of EventPipe (#20238)Brian Robbins1-1/+1
2018-10-04Remove AppDomain unload (#20250)Jan Vorlicek2-10/+0
* Remove AppDomain unload This change removes all code in AppDomain that's related to AppDomain unloading which is obsolete in CoreCLR. It also removes all calls to the removed methods. In few places, I have made the change simpler by taking into account the fact that there is always just one AppDomain.
2018-10-03Add MethodImplOptions.AggressiveOptimization and use it for tiering (#20009)Koundinya Veluri3-2/+5
Add MethodImplOptions.AggressiveOptimization and use it for tiering Part of fix for https://github.com/dotnet/corefx/issues/32235 Workaround for https://github.com/dotnet/coreclr/issues/19751 - Added and set CORJIT_FLAG_AGGRESSIVE_OPT to indicate that a method is flagged with AggressiveOptimization - For a method flagged with AggressiveOptimization, tiering uses a foreground tier 1 JIT on first call to the method, skipping the tier 0 JIT and call counting - When tiering is disabled, a method flagged with AggressiveOptimization does not use r2r-pregenerated code - R2r crossgen does not generate code for a method flagged with AggressiveOptimization
2018-09-28Make `structType` optional in jitEEInterface method `getFieldType`. (#20191)Sergey Andreenko1-1/+1
* Make `structType` optional in `getFieldType`. The declaration in corinfo.h says: "if 'structType' == 0, then don't bother the structure info". However, `getFieldTypeInternal ` did not check this case. * Do not bother the structure info when we do not need it from `getFieldType`.
2018-09-28Added transcript of ARMEnabled. (#20181)Alexander Soldatov1-1/+1
2018-09-25Delete dead .NET Framework activation code (#20134)Jan Kotas1-1116/+0
2018-09-17Use elaborated type specifiers to prevent meaning changes (#20019)Jan Kotas1-9/+9
Port https://github.com/dotnet/corert/pull/6341/ to CoreCLR
2018-09-13Adding the ARM floating point registers to the cordebug.idl file (#19934)Andrew Au1-0/+32
2018-09-07Fixes towards making the runtime compiled without FEATURE_PREJIT defined ↵Jan Kotas2-73/+27
(#19864)
2018-09-07Add Basic Out-of-Process EventPipe Control and Heap Snapshot Capture (#19720)Brian Robbins1-0/+1
2018-09-06Add support for collectible types to SOS (#19842)Jan Vorlicek2-0/+30
* 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-03Deal with cross-bitness compilation warnings Pt.2 (#19781)Egor Chesakov2-2/+6
* 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-01i386: Fixed definition with declaration in eetoprofinterfaceimpl.cpp (#18792)sergey ignatov1-12/+14
2018-08-30Fix CoreCLR debug launch (#19730)Andrew Au1-1/+1
2018-08-29Define T_RUNTIME_FUNCTION in cross-bitness crossgen ARM32 (#19718)Egor Chesakov3-3/+14
* Allow 'Non-ARM Host managing ARM related code' scenario in src/inc/crosscomp.h * Restrict RtlUnwindEx RtlVirtualUnwind to X86 || FEATURE_PAL in src/inc/clrnt.h * Define PTR_RUNTIME_FUNCTION via T_RUNTIME_FUNCTION in src/inc/daccess.h
2018-08-23Deal with compilation warnings in VM in cross-bitness scenario (#18707)Egor Chesakov3-11/+11
2018-08-23Enable unloading of AssemblyLoadContext (#18476)Jan Vorlicek3-2/+21
Enable assembly unloading * Allow PInvoke methods on collectible assemblies * Fix test unloadability Several hundreds of tests were using Helper class that created GCHandle, but never freed it. That prevented unloading of those tests. The change modifies the Helper class to keep the handle in a finalizable object. Several GCHandle related tests were not freeing the GCHandle they allocated, so this change adds freeing them to enable the unloading. * Add missing error messages to the resources * Fix shuffle thunk cache for unloadability * Add GetLoaderAllocator to ICLRPrivBinder
2018-08-17Enable Tiered Compilation by default (#19525)Koundinya Veluri1-2/+1
Enable Tiered Compilation by default 1) Changes the default state of the tiered compilation feature check to be ON BY DEFAULT 2) Removed comments about the source about this being a work in progress. Although it will surely continue to evolve and improve, remaining issues would be better tracked in our issue tracking system with the same default presumption as other runtime features - assume it works unless noted otherwise. 3) Adjusts a number of tests and automated scripts that made assumptions that the default setting of this feature is off. 4) Stop accepting the deprecated env var COMPLUS_EXPERIMENTAL_TieredCompilation. I'm not aware it has any remaining usage but if so we're going to find out. 5) Adjust config names for JitBench
2018-08-10update order of locks so jitstress is unblocked (#19401)David Mason2-174/+174
2018-08-07FillRegDisplay: initialize volatileCurrContextPointers for ARM and ARM64 ↵Konstantin Baladurin1-1/+12
(#19332) We need to initialize volatileCurrContextPointers because they could be used by GC in the case of the leaf frame. This patch fixes crashes during GC when we are single stepping using managed debugger.