Jan Kotas [Wed, 22 Jul 2015 21:08:47 +0000 (14:08 -0700)]
Merge pull request #1274 from dotnet-bot/from-tfs
Merge changes from TFS
Aditya Mandaleeka [Wed, 22 Jul 2015 20:37:50 +0000 (13:37 -0700)]
Merge pull request #1242 from david-mitchell/update-osx-instructions
Update OS X build instructions.
Alex Ghiondea [Wed, 22 Jul 2015 17:19:57 +0000 (10:19 -0700)]
Remove the SecuritySafeCritical from the ParseTargetFrameworkName.
This attribute was added as part of the initial implementation and is no longer needed in the current version. What this attribute does it allows us to call SecurityCritical methods from our code. However, we no longer have the need to do that. Additionally, having this attribute prevents libraries that are explicity SecurityTransparent from compiling this code in their assembly (SecAnnotate would complain).
[tfs-changeset: 1504639]
Aditya Mandaleeka [Tue, 21 Jul 2015 17:59:08 +0000 (10:59 -0700)]
Merge pull request #1263 from adityamandaleeka/contextAlignment
Fix alignment issue when converting to/from native context.
Mike McLaughlin [Tue, 21 Jul 2015 07:24:57 +0000 (00:24 -0700)]
Merge pull request #1266 from mikem8361/debugdoc
Add directions for debugging CoreClr on Linux
Mike McLaughlin [Mon, 20 Jul 2015 22:57:23 +0000 (15:57 -0700)]
Add directions for debugging CoreClr on Linux.
Aditya Mandaleeka [Mon, 20 Jul 2015 00:24:17 +0000 (17:24 -0700)]
Fix alignment issue when converting to/from native context.
When building in release mode, the code in CONTEXTFromNativeContext and
CONTEXTToNativeContext was using the movaps instruction to move the float
and XMM register values to/from the native context. This is because the
macros FPREG_St and FPREG_Xmm were casting unaligned pointers to an
aligned struct type (M128A). This change adds a type M128U which is the
same as M128A but without the alignment guarantee. Using this type in
those macros prevents the compiler from trying to use movaps on
potentially unaligned memory. This bug manifested when trying to call
these functions with native contexts that were passed into a real-time
signal handler.
Matt Mitchell [Mon, 20 Jul 2015 16:21:58 +0000 (09:21 -0700)]
Merge pull request #1247 from mmitche/skip-tests-option
Add option to skip test build in build.cmd
Matt Mitchell [Thu, 16 Jul 2015 14:59:05 +0000 (07:59 -0700)]
Add option to skip test build in build.cmd
Add help information regarding skiptestbuild option
Jan Kotas [Mon, 20 Jul 2015 13:54:29 +0000 (06:54 -0700)]
Merge pull request #1255 from benpye/coreconsole-crash-fix
Allow coreconsole to be called without extension
Ben Pye [Fri, 17 Jul 2015 07:48:14 +0000 (08:48 +0100)]
Allow coreconsole to be called without extension.
Jan Kotas [Sun, 19 Jul 2015 14:46:25 +0000 (07:46 -0700)]
Merge pull request #1199 from judemelancon/patch-1
Remove incorrectly duplicated comment
Jan Kotas [Sun, 19 Jul 2015 14:30:49 +0000 (07:30 -0700)]
Merge pull request #1227 from mikedn/shrdis
Fix SHR operand diassembly in RyuJIT
Sergiy Kuryata [Sun, 19 Jul 2015 06:26:16 +0000 (23:26 -0700)]
Merge pull request #1250 from david-mitchell/fix-locals
Declare locals in correct order.
Jan Vorlicek [Fri, 17 Jul 2015 10:07:58 +0000 (12:07 +0200)]
Merge pull request #1245 from janvorli/hosting-api-extension
Extend the Unix hosting API
Jan Kotas [Fri, 17 Jul 2015 06:11:30 +0000 (23:11 -0700)]
Merge pull request #1251 from dotnet-bot/from-tfs
Merge changes from TFS
Jan Kotas [Fri, 17 Jul 2015 06:10:57 +0000 (23:10 -0700)]
Merge pull request #1252 from ViIvanov/fix/assert-in-lazy-value/issue-1186
Fix #1186: wrong Contract.Assert in Lazy<>::Value getter.
Stephen Toub [Fri, 17 Jul 2015 01:26:01 +0000 (21:26 -0400)]
Merge pull request #1248 from stephentoub/dllimport_prefix_suffix
Update DllImport name logic to support lack of "lib" prefix
stephentoub [Thu, 16 Jul 2015 13:10:56 +0000 (09:10 -0400)]
Update DllImport logic to support lack of "lib" prefix
Today the runtime supports automatically appending an appropriate
suffix (e.g. ".so", ".dylib", etc.) for the library name provided
to DllImport. This commit adds support for also prepending the
standard library prefix "lib".
Viacheslav Ivanov [Thu, 16 Jul 2015 22:18:02 +0000 (01:18 +0300)]
Fix #1186: incorrect Contract.Assert in Lazy<>::Value getter.
Jan Vorlicek [Wed, 15 Jul 2015 21:08:09 +0000 (23:08 +0200)]
Extend the Unix hosting API
This change modifies the Unix hosting API so that the hosting app can create
as many managed delegates as it needs and execute them as many times it wants.
The new API contains separate functions to initialize and shutdown CoreCLR
and a function to create a delegate.
The current ExecuteAssembly function behavior stays unmodified for now to
ensure that dnx that uses that API and that pulls the binary libcoreclr
is not broken.
After the dnx is updated to use the new coreclr_create_delegate API, I'll remove
the ExecuteAssembly.
Also done:
1) Added support for comments and skipping empty lines in the mscorwks_unixexports.src.
2) Restructured the mscorwks_unixexports.src
3) Added coreclr_execute_assembly to the unixinterface.cpp / exports
4) Modified coreruncommon.cpp to use the new hosting API
Bruce Forstall [Thu, 16 Jul 2015 16:36:40 +0000 (09:36 -0700)]
Port CS#1495515 to ProjectK branch: Add a JIT-EE interface method for use by the System V struct passing ABI change
NOTE: This is a breaking JIT-EE interface change, and requires a matching rebuild of JIT and VM.
[tfs-changeset: 1502218]
David Mitchell [Thu, 16 Jul 2015 15:46:48 +0000 (08:46 -0700)]
Declare locals in correct order.
The order of declaration doesn't matter when the call to CreateInstance
succeeds because the call to unload the DLL is suppressed. However, if
CreateInstance fails, we do unload the DLL, and this needs to happen after the
call to Release on the class factory.
Stephen Toub [Thu, 16 Jul 2015 02:50:22 +0000 (22:50 -0400)]
Merge pull request #1246 from stephentoub/fix_unix_etw
Ensure FEATURE_MANAGED_ETW isn't set for TargetsUnix
stephentoub [Thu, 16 Jul 2015 02:14:57 +0000 (22:14 -0400)]
Ensure FEATURE_MANAGED_ETW isn't set for TargetsUnix
Updated buildtools were brought in to coreclr, and the props file was
still using the $(OS) variable to control whether FEATURE_MANAGED_ETW was
set, but whereas that used to be used to mean what platform we were
targeting, updated buildtools use it to mean what platform we're building
on, with $(OSGroup) meaning what is the target platform.
Matt Ellis [Wed, 15 Jul 2015 23:27:53 +0000 (16:27 -0700)]
Merge pull request #1243 from dotnet-bot/from-tfs
Merge changes from TFS
Matt Ellis [Wed, 15 Jul 2015 22:56:36 +0000 (15:56 -0700)]
Fix cross platform build break
impAssignTempGen is used outside the translation unit and should not
be marked as inline. Doing so causes link errors in release cross
platform builds.
Matt Ellis [Wed, 15 Jul 2015 18:37:38 +0000 (11:37 -0700)]
Merge pull request #1238 from dotnet-bot/from-tfs
Merge changes from TFS
David Mitchell [Wed, 15 Jul 2015 17:16:59 +0000 (10:16 -0700)]
Update OS X build instructions.
CoreFX can now be built without Windows.
Matt Ellis [Wed, 15 Jul 2015 03:25:02 +0000 (20:25 -0700)]
Fix definition/initalization order build break
Clang is more strict about definition and intialization orders
matching than MSVC.
Venkata Sivaramakrishna Ramadugu [Tue, 14 Jul 2015 23:15:18 +0000 (16:15 -0700)]
Fix to Unnecessary use of JIT_Stelem_Ref helper call when storing null in arrays.
Repro program:
static T Dequeue<T>(T[] array, int index)
{
var head = array[index];
array[index] = default(T);
return head;
}
When Dequeue is instantiated over a ref type, the second line logically expands to
object temp;
initobj(&temp, null, 8)
array[index] = temp
The array store results in call to CORINFO_HELP_ARRADDR_ST helper call even though we are storing a null and a write barrier is not needed.
Fix:
After the args of helper call are morphed, (i.e. after constant propagation is done), we can check to see whether the 3rd arg (value being assigned) is null and if so morph that into an array-indexed assignment so that a proper null and bounds check still take place.
Fix #1160
[tfs-changeset: 1501294]
Venkata Sivaramakrishna Ramadugu [Tue, 14 Jul 2015 23:13:42 +0000 (16:13 -0700)]
Fix to bug#1173115 and Issue#1 listed in bug#1177388.
On xarch, bin-ops like add/mul/div that write to its LHS operand (i.e. target of result) and hence lower indicates to LSRA to preference the result of such bin-ops to its target operand to avoid additional moves. The issue is that when we have nested bin-op expression like GT_MUL(GT_ADD(a,b), c), LSRA will preference GT_MUL to its LHS operand only if there are further references of it. Since there will no further references of LHS operand GT_ADD, GT_MUL is not preferenced to GT_ADD. This results in an additional move. Fix in lines 4289-4307 is meant to fix this by letting to use relatedInterval even if there are no further references of it.
With the above fix alone, there were major CQ losses since GT_STORE_LCL_VAR(GT_ADD(a,b)) would require a mov if GT_ADD is not preferenced to its parent lcl var but to its target operand ('a' in this case). To fix this lines 2977-2981 allow a non-lclvar source of a STORE_LCL_VAR to use its parent interval as related interval for preferencing.
With the combination so the above two fixes, there is a overall 0.32% improvement in size of the methods that got impacted. The regressions are all smaller and a result of register preferencing got changed due to the above two fixes.
Fix #1163
CQ persuite run indicates Fractals benchmark improved by 15%.
[tfs-changeset: 1501293]
Matt Mitchell [Tue, 14 Jul 2015 22:38:36 +0000 (15:38 -0700)]
Merge pull request #1219 from mmitche/package-json-2
Move CoreCLR to the modern build tools and dnx
Venkata Sivaramakrishna Ramadugu [Tue, 14 Jul 2015 21:46:01 +0000 (14:46 -0700)]
Fix to issue- .Net 4.6 RC x64 is twice as slow as Legacy Jit64 and x86.
Perf regression is due to a stall caused by "cvtsi2sd xmm1, rax" that partially writes lower 8-bytes of xmm1 but keeps other bytes unmodified. Since there are further uses of xmm1, it will introduce a false dependency and cause stalls.
Fix is to emit "xorps targetReg, targetReg" before a cvtsi2ss/sd instruction.
Fix #993
[tfs-changeset: 1501252]
Jan Kotas [Tue, 14 Jul 2015 20:01:20 +0000 (13:01 -0700)]
Merge pull request #1222 from dotnet-bot/from-tfs
Merge changes from TFS
Stephen Toub [Tue, 14 Jul 2015 19:47:58 +0000 (15:47 -0400)]
Merge pull request #1231 from justinvp/array_reverse
Perf: List<T>.Reverse changed to not use non-generic Array.Reverse
Justin Van Patten [Sun, 12 Jul 2015 00:44:53 +0000 (17:44 -0700)]
Improve the performance of List<T>.Reverse
List<T>.Reverse is currently implemented in terms of the non-generic
Array.Reverse. Array.Reverse includes a fast path for a known set
of primitive types via a call into the runtime (see TrySZReverse).
Otherwise, it falls back to slower code paths that involve boxing
for non-primitive value types.
This commit changes List<T>.Reverse to use a generic implementation
of reverse that does not have the performance issue for
non-primitive value types.
Carol Eidt [Tue, 14 Jul 2015 04:31:46 +0000 (21:31 -0700)]
Don't reorder operands for Vector constructor
The code in simd.cpp that recognizes the constructor for fixed-size vectors (the InitN intrinsic) was incorrectly reordering the operands. Constructing the vector in reverse order is more efficient, but that can be done in codegen without change execution order.
This change results in numerous diffs, with more regressions than improvements. The diffs are due to somewhat different register pressure, due to the ordering change, and different cases of constant reuse.
Fix #1212
[tfs-changeset: 1500923]
Jan Vorlicek [Fri, 10 Jul 2015 19:22:05 +0000 (21:22 +0200)]
Merge pull request #1216 from janvorli/fix-destructor-contracts
Add missing contracts to some destructors
mike [Fri, 10 Jul 2015 16:17:33 +0000 (19:17 +0300)]
Fix SHR operand diassembly
Carol Eidt [Thu, 9 Jul 2015 23:28:23 +0000 (16:28 -0700)]
Support for SIMD Exceptions
For the CopyTo methods, we need to throw ArgumentOutOfRangeException instead of IndexOutOfRangeException for the initial index value, and then ArgumentException if the number of elements exceeds the remaining elements in the array. To support this, the GenTreeBoundsChk node now has a gtThrowKind field which indicates the kind of throw block it will branch to if the check failes.
This requires new helper calls, which I added to the end of corinfo.h.
[tfs-changeset: 1499475]
Jan Vorlicek [Thu, 9 Jul 2015 23:24:02 +0000 (01:24 +0200)]
Add missing contracts to some constructors
After adding virtual destructors to some classes, the contract scanning
tool started to complain about missing contracts in some of the
constructors that were not touched.
This change adds contracts to those.
Matt Mitchell [Mon, 6 Jul 2015 23:12:43 +0000 (16:12 -0700)]
Move CoreCLR to the modern build tools and dnx
This changes moves coreclr onto DNX (same version as corefx). Theoretically, this should allow these tests to target the desktop CLR. All of the old package.config files are gone and replaced with corresponding project.json files. The up front restore behavior is retained. Tests are now buildable individually, though not runnable in a similar fashion.
Carol Eidt [Thu, 9 Jul 2015 21:55:24 +0000 (14:55 -0700)]
SIMD Exceptions Fix (TFS 1189814)
For the intrinsics that take arrays, we need to check the initial index (if given) to ensure that it is non-null.
[tfs-changeset: 1499422]
Rama Krishnan Raghupathy [Thu, 9 Jul 2015 19:14:33 +0000 (12:14 -0700)]
Fixing Databinding scenario for KeyValuePair. Refactoring the databinding code for CLRIReferenceImpl/CLRIReferenceArrayImpl/ICustomPropertyProviderProxy
[tfs-changeset: 1499363]
Jan Kotas [Thu, 9 Jul 2015 06:15:02 +0000 (23:15 -0700)]
Merge pull request #1215 from richardlford/rosfix
Modify conservative GC code for unaligned InlinedCallFrames
Richard L Ford [Wed, 8 Jul 2015 07:17:53 +0000 (00:17 -0700)]
Modify conservative GC code for unaligned InlinedCallFrames
When making pinvoke calls the JITs allocate InlinedCallFrames
within their stack frames to record the location
of the managed stack frame. These InlinedCallFrames are
not necessarily 8-byte aligned. These were being used
as the topStack in src/vm/gcenv.cpp, in the method
GCToEEInterface::ScanStackRoots.
This change checks to see if a frame is an InlinedCallFrame.
If so then its GetCallSiteSP method is used to
get the real top of stack. This will always be aligned.
There were two problem before this change wwhen the
frame was misaligned (e.g. ending with 4 or c):
1. GCToEEInterface::ScanStackRoots starts at the
topStack and look at every 8-byte chunk as if it were a
pointer. But if topStack is unaligned it is not really
finding the pointers on the stack.
2. When it gets to the bottom the 8-byte access
read the first 4 bytes ok, but the last 4 bytes
go beyond mapped addresses and an access violation
results.
Matt Mitchell [Wed, 8 Jul 2015 22:16:26 +0000 (15:16 -0700)]
Merge pull request #1211 from mmitche/improve-build-tp
Improve the build throughput
Mike McLaughlin [Wed, 8 Jul 2015 21:47:08 +0000 (14:47 -0700)]
Merge pull request #1217 from mikem8361/fixassert
Fix recursive asserts in coreclr.
Mike McLaughlin [Wed, 8 Jul 2015 18:22:09 +0000 (11:22 -0700)]
CR feedback.
Mike McLaughlin [Tue, 7 Jul 2015 22:14:15 +0000 (15:14 -0700)]
Fix recursive asserts in coreclr.
Remove assert in VM break handler to prevent recursive asserts. Fixed problem where the DebugBreak wasn't terminating the app on an assert causing double assert messages. Restoring the SIGTRAP handler and returning was continuing the DebugBreak not terminating. Replaced this with an abort().
Cleanup the assert message formatting.
Jan Vorlicek [Wed, 8 Jul 2015 09:55:54 +0000 (11:55 +0200)]
Add missing contracts to some destructors
This change adds missing contract annotation to several destructors that
were missing it.
Rich Lander [Wed, 8 Jul 2015 05:03:21 +0000 (22:03 -0700)]
Merge pull request #1196 from justinvp/docs_corefxtests
Fix markdown of the "Testing with CoreFX" documentation so it renders correctly on GitHub
Matt Mitchell [Tue, 7 Jul 2015 18:38:11 +0000 (11:38 -0700)]
Improve the build throughput
Especially with the builds of the tests, the diag logging significantly reduces TP in the build and seems to reduce parallelism a bit too. Change this to normal.
Jan Kotas [Tue, 7 Jul 2015 07:21:57 +0000 (00:21 -0700)]
Merge pull request #1209 from swaroop-sridhar/unused
Remove a few Unused Definitions
Stephen Toub [Tue, 7 Jul 2015 03:09:29 +0000 (23:09 -0400)]
Merge pull request #637 from justinvp/stringsplit
String.Split optimization
Swaroop Sridhar [Mon, 6 Jul 2015 22:36:58 +0000 (15:36 -0700)]
Remove a few Unused Definitions
Remove three unused local variable definitions --
which caused warnings in the LLILC build.
Matt Mitchell [Mon, 6 Jul 2015 15:33:03 +0000 (08:33 -0700)]
Merge pull request #1124 from DickvdBrink/vs2015-doc-fix
Document Visual Studio 2015 support
Dick van den Brink [Sun, 5 Jul 2015 14:56:22 +0000 (07:56 -0700)]
Document Visual Studio 2015 support
Jan Kotas [Fri, 3 Jul 2015 07:07:15 +0000 (00:07 -0700)]
Merge pull request #1200 from erozenfeld/CrossgenFix
Allow non-RIP-relative relocations in coreclr crossgen.
Stephen Toub [Fri, 3 Jul 2015 02:53:29 +0000 (22:53 -0400)]
Merge pull request #1202 from mj1856/docs
Fix broken link in documentation
Matt Johnson [Thu, 2 Jul 2015 22:25:53 +0000 (15:25 -0700)]
Fix broken link
Eugene Rozenfeld [Thu, 2 Jul 2015 19:45:04 +0000 (12:45 -0700)]
Allow non-RIP-relative relocations in coreclr crossgen.
Mike McLaughlin [Thu, 2 Jul 2015 18:23:18 +0000 (11:23 -0700)]
Merge pull request #1195 from mikem8361/dactable
Generate the dac table RVA using nm at build time.
Jude Melancon [Thu, 2 Jul 2015 14:44:59 +0000 (09:44 -0500)]
Remove incorrectly duplicated comment
Justin Van Patten [Thu, 2 Jul 2015 04:13:06 +0000 (21:13 -0700)]
Fix markdown so it renders correctly on GitHub
Mike McLaughlin [Thu, 2 Jul 2015 02:02:25 +0000 (19:02 -0700)]
Fix Windows build.
Matt Ellis [Thu, 2 Jul 2015 01:03:40 +0000 (18:03 -0700)]
Merge pull request #1194 from ellismg/intern-jit-packages-files
Speed up package resotre of JIT Test build
Mike McLaughlin [Tue, 23 Jun 2015 00:47:46 +0000 (17:47 -0700)]
Generate the dac table RVA using nm at build time.
Remove the temporary PAL dac table file at runtime. Replaced it with dactablerva.h file generated at build time from the libcoreclr module. nm works across Linux, OSx and FreeBSD.
Stephen Toub [Wed, 1 Jul 2015 13:13:20 +0000 (09:13 -0400)]
Merge pull request #1189 from MarcelGosselin/master
Fix broken Developer Guide documentation links
Marcel Gosselin [Wed, 1 Jul 2015 07:18:52 +0000 (03:18 -0400)]
Fix broken Developer Guide documentation links
Justin Van Patten [Fri, 3 Apr 2015 19:19:11 +0000 (12:19 -0700)]
String.Split optimization
- Use EmptyArray<String>.Value instead of new String[0] on .NET Core
- Return early before allocating internal array(s) when count == 1
Matt Ellis [Tue, 30 Jun 2015 21:11:27 +0000 (14:11 -0700)]
Speed up package resotre of JIT Test build
We spend a fair amount of time (six wall clock minutes on my machine)
doing package restore for the JIT tests. This is because each project
has its own packages.config file, so during the build we call nuget
restore for each project.
There are only four unique packages.config files for all these tests, so
this change moves them to tests/src/JIT/config and updates the project
files to consume them from there.
This means during the build the `EnsureDependencies` target does not
need to invoke nuget restore as often and the build is much faster as a
result.
Stephen Toub [Tue, 30 Jun 2015 18:25:06 +0000 (14:25 -0400)]
Merge pull request #1188 from dotnet-bot/from-tfs
Merge changes from TFS
Bruce Forstall [Tue, 30 Jun 2015 00:40:22 +0000 (17:40 -0700)]
Replace COMPLUS_SOCExtraSpew with COMPLUS_JitFunctionTrace, and enable it for all architectures in RyuJIT
[tfs-changeset: 1495487]
Jeremy Barton [Mon, 29 Jun 2015 20:24:20 +0000 (13:24 -0700)]
Merge pull request #1185 from bartonjs/x509chain
Add wrapper functions for building X509Chains
Matt Ellis [Sat, 27 Jun 2015 22:04:59 +0000 (15:04 -0700)]
Merge pull request #1180 from dotnet-bot/from-tfs
Merge changes from TFS
Matt Ellis [Sat, 27 Jun 2015 06:15:56 +0000 (23:15 -0700)]
Merge pull request #1179 from dotnet-bot/from-tfs
Merge changes from TFS
Matt Ellis [Sat, 27 Jun 2015 04:29:33 +0000 (21:29 -0700)]
Add missing include directory
dbgshim.cpp wants to include debugshim.h but the directory that holds
this file was not on the include path when buidling with cmake. Adding
this directory in line with what we had for the razzle driven internal
TFS build.
Eugene Zemtsov [Sat, 27 Jun 2015 04:28:59 +0000 (21:28 -0700)]
Fix arm/arm64 builds of dbgshim
[tfs-changeset: 1494755]
Eugene Zemtsov [Sat, 27 Jun 2015 02:12:19 +0000 (19:12 -0700)]
Make 64bit dump debugging possible on CoreCLR
[tfs-changeset: 1494731]
Mike McLaughlin [Thu, 25 Jun 2015 22:28:06 +0000 (15:28 -0700)]
Merge pull request #1175 from mikem8361/palinit2
Some more pal init cleanup missed in #1174
Mike McLaughlin [Thu, 25 Jun 2015 21:34:08 +0000 (14:34 -0700)]
Some more pal init cleanup missed in #1174
Jan Vorlicek [Thu, 25 Jun 2015 20:51:16 +0000 (22:51 +0200)]
Merge pull request #1174 from mikem8361/palinit
Fixed the PAL_Initialize* order problem.
Mike McLaughlin [Thu, 25 Jun 2015 19:18:23 +0000 (12:18 -0700)]
CR feedback from @janvorli
Mike McLaughlin [Sat, 20 Jun 2015 00:37:48 +0000 (17:37 -0700)]
Fixed the PAL_Initialize* order problem.
Now it doesn't matter if PAL_InitializeDLL (which doesn't pass argc/argv) is called before PAL_InitializeCoreCLR or vice-versa. The exe path and command line are updated for every PAL_Initialize or PAL_InitializeCoreCLR call.
Cleaned up the pal_module initialization to get and set the module name removing the need for PAL_InitializeCoreCLR to pass the coreclr path. This required changing the process attach DllInit to be done more on demand.
The signature for PAL_InitializeCoreCLR has changed to (two parameters removed):
PALIMPORT
DWORD
PALAPI
PAL_InitializeCoreCLR(
const char *szExePath);
Fixed a problem in the ClrStack -i command where the SP/PC displayed wasn't correctly.
Matt Mitchell [Wed, 24 Jun 2015 17:58:14 +0000 (10:58 -0700)]
Merge pull request #1169 from pgavlin/splittests
Refactor JIT test projects.
Pat Gavlin [Tue, 23 Jun 2015 17:37:02 +0000 (10:37 -0700)]
Refactor JIT test projects.
This change replaces the template projects used for the ported JIT tests
with a single project file per test. This refactoring is intended to
clarify exactly which tests from the legacy testbed have been ported
and what their dependencies are; this should make later reasoning about
these tests more straightforward.
This change also disables a number of innocuous warnings in the ported
tests for hygenic purposes.
bartonjs [Wed, 24 Jun 2015 15:03:00 +0000 (08:03 -0700)]
Add support for setting verification time and querying the root store directory
Mike McLaughlin [Tue, 23 Jun 2015 21:40:38 +0000 (14:40 -0700)]
Merge pull request #1159 from mikem8361/bpmd
Enable bpmd command (even unjitted functions work)
Jeremy Barton [Mon, 22 Jun 2015 16:11:49 +0000 (09:11 -0700)]
Add methods for interacting with STACK_OF(X509)
Jan Kotas [Sat, 20 Jun 2015 00:40:14 +0000 (17:40 -0700)]
Merge pull request #1156 from romansp/fix-typos
fix typo in objectnative.cpp comments
Mike McLaughlin [Wed, 17 Jun 2015 00:43:04 +0000 (17:43 -0700)]
Enable bpmd command even unjitted functions work.
Preallocate JIT notification table on VM side (since ICLRDataTarget2->AllocVirtual isn't implemented under lldb) and implement WriteVirtual on debugger side to allow DAC to write entries.
Used the special set breakpoint on exception throw lldb command to catch the special exception the VM throws when some
thing is jitted. The debugger side finds the exception record by searching for the RtlpRaiseException function on the stack
when the bp is hit. It also assumes that the local variable is called ExceptionRecord.
Fix all the file path separators to use the platform independent defines.
Ifdef all the "/d" options in the supported commands because the / char isn't supported as a command line option and /d is always the DML option that isn't supported either.
Fix problem Prem run into running sos after the process stops.
Jan Vorlicek [Thu, 18 Jun 2015 21:37:16 +0000 (23:37 +0200)]
Merge pull request #1136 from josteink/unwind-freebsd
Fix stack unwinding for FreeBSD.
Jostein Kjønigsen [Mon, 15 Jun 2015 06:17:01 +0000 (08:17 +0200)]
Fix stack unwinding for FreeBSD.
Fix error in stack unwinding on FreeBSD as discovered by @saper.
This closes #1102 and #1113
Roman Pavlov [Thu, 18 Jun 2015 14:24:59 +0000 (17:24 +0300)]
fixed typo in objectnative.cpp comments
Mike McLaughlin [Thu, 18 Jun 2015 00:48:37 +0000 (17:48 -0700)]
Merge pull request #1153 from mikem8361/ctrlc
Allow CTRLC to work when running under lldb using the SOS plugin
Mike McLaughlin [Wed, 17 Jun 2015 01:26:11 +0000 (18:26 -0700)]
Allow CTRLC to work when running under lldb using the SOS plugin and debugger dlls
by only setting the SIGINT/SIGQUIT handlers if the signal handler thread is started.
Andy Ayers [Wed, 17 Jun 2015 19:48:04 +0000 (12:48 -0700)]
Merge pull request #1107 from krk/master
ObjectDisposedException handled in test wrapper.
Mike McLaughlin [Wed, 17 Jun 2015 00:43:44 +0000 (17:43 -0700)]
Merge pull request #1141 from mikem8361/dbgshim
Fully implement dbgshim so it doesn't depend on LD_LIBRARY_PATH (issue #650)