summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2015-02-16Implement native stack unwinding for LinuxJan Vorlicek12-167/+184
This change implements native stack unwinding using the libunwind on Linux. I have also fixed bunch of issues / details in the related code: 1) 0x in front of %p inside format string 2) Subtraction of -1 from dl_info.dli_sname 3) Added .cfi_xxxx annotation to the CallDescrWorkerInternal and the LEAF_ENTRY / LEAF_END macros. 4) Changed local labels in the CallDescrWorkerInternal to be prefixed by .L to see the CallDescrWorkerInternal in the stack trace 5) Changed moveOWord to use movdqu - it was being called with one of the parameters unaligned
2015-02-13Merge pull request #259 from janvorli/linux-issue177Jan Vorlicek10-853/+1357
Modify the windows amd64 unwinder to work as jitted code unwinder on Uni...
2015-02-13Modify the windows amd64 unwinder to work as jitted code unwinder on UnixJan Vorlicek10-853/+1357
Update the windows amd64 unwinder from its source to the latest version and add context pointers updating that was excluded before. Change methods of the OOPStackUnwinder and OOPStackUnwinderAMD64 to be static, since the base class has no data members and the unwinding is always using the processor specific subclass. Modify the code so that it is built in two flavors. The first one is the DAC flavor which is used by the debugger. The second one will be used for jitted code stack frames unwinding on non-Windows systems.
2015-02-13Fix sscanf implementation in PALSergiy Kuryata3-19/+29
Implementation of sscanf was incorrectly handling cases where the input format was in the form of “%2c”, “%2s”, or “%[“ which could result in an access violation. The problem was that sscanf was calling sscanf_s with incorrect set of arguments. Implementation of sscanf_s expects to find the size of the target buffer in the list of its parameters but that parameter was not present in some cases. This change fixes this issue and re-enables previously disabled sscanf tests.
2015-02-12Merge pull request #254 from ellismg/remove-locale-cppMatt Ellis3-6324/+0
Remove locale.cpp from the PAL on OSX
2015-02-12Remove locale.cpp from the PAL on OSXMatt Ellis3-6324/+0
The globalization plans no longer require these methods to be implemented in the PAL, since we no longer call into the VM for globalization support except on Windows. It's possible that more stuff can be cleaned up here, and not just for OSX, but I need to take a careful look at the use of codepages across the runtime to understand if it's still needed.
2015-02-12Workaround for an ARM specific MS C++ compiler bugEugene Zemtsov1-0/+8
Due to a bug #1123874 in arm codegen, critical code path in mscordbi.dll became unusable making any managed debugging impossible on ARM. [tfs-changeset: 1414914]
2015-02-13Merge pull request #244 from benpye/file-size-exJan Vorlicek9-100/+300
Add GetFileSizeEx implementation to pal
2015-02-12Cleanup GetFileSize test to reduce duplicated codeBen Pye1-96/+54
2015-02-12Pal tests should pass on windowsBen Pye1-8/+0
2015-02-12Error if the filesize pointer is null, improve GetFileSizeEx test.Ben Pye2-106/+76
2015-02-12Merge pull request #241 from pgavlin/AltJitFixesPat Gavlin3-2/+4
Small fixes to enable AltJit support on UNIX.
2015-02-12Add GetFileSizeEx implementation to palBen Pye8-4/+284
2015-02-12Merge pull request #188 from stephentoub/disable_etw_unixStephen Toub1-2/+29
Update FEATURE_MANAGED_ETW and disable it on Unix
2015-02-12Small fixes to enable AltJit support on UNIX.Pat Gavlin3-2/+4
- Load libcoreclr.so with the RTLD_GLOBAL flag set in unixxorerun s.t. its exports are available for subsequently loaded libraries. - Demangle PAL_TryExcept - Replace a non-portable path separator character with the corresponding portable definition from the PAL.
2015-02-12Merge pull request #136 from poizan42/cmake-locateMatt Mitchell2-1/+67
Make build.cmd lookup the install directory of cmake in the registry if ...
2015-02-12Merge pull request #220 from mmitche/issue-208Matt Mitchell1-1/+1
Fix rebuild issue with development package
2015-02-12Merge pull request #238 from poizan42/fix-spaces-linux-buildMatt Mitchell2-21/+21
Fix build on paths with spaces and with llvm path with spaces.
2015-02-12Make build.cmd lookup the install directory of cmake in the registry if it's ↵Kasper F. Brandt2-1/+67
not on the path.
2015-02-12Merge pull request #239 from kangaroo/masterJan Kotas2-10/+15
[issue #232] Rename dispatchexceptionwrapper on the filesystem as well
2015-02-12Merge pull request #183 from poizan42/build-space-fixMatt Mitchell4-7/+13
Correct handling of paths with spaces and ampersands when building on windows
2015-02-12Add missing license headerGeoff Norton1-10/+15
2015-02-12[issue #232] Rename dispatchexceptionwrapper on the filesystem as wellGeoff Norton1-0/+0
2015-02-12Fix build on paths with spaces and with llvm path with spaces. Fixes #216Kasper F. Brandt2-21/+21
2015-02-12Merge pull request #223 from kangaroo/warning-cleanJan Kotas7-94/+9
Clean up compiler warnings on the OSX build
2015-02-12Merge pull request #233 from lioncash/leakJan Kotas1-1/+3
ceesectionstring: Fix a potential memory leak
2015-02-12Merge pull request #231 from poizan42/fix-abs-64bitJan Kotas1-3/+3
Fix copy paste errors in llabs test
2015-02-12ceesectionstring: Fix a potential memory leakLioncash1-1/+3
2015-02-12fix copy paste errors in llabs testKasper F. Brandt1-3/+3
2015-02-12Typo fix in objecthandle.cppAndrey Akinshin1-1/+1
2015-02-11Clean up compiler warnings on the OSX buildGeoff Norton7-94/+9
2015-02-11Merge pull request #211 from kangaroo/issue-199Jan Kotas4-27/+59
Implement JIT_MemSet and JIT_MemCpy for clang
2015-02-11Merge pull request #207 from poizan42/fix-abs-64bitJan Kotas9-1/+118
Add abs(__int64) overload for 64-bit targets. Fixes #143
2015-02-11Ensure that we call memcpy from the PLT on linuxGeoff Norton2-13/+19
2015-02-11Merge pull request #219 from dotnet-bot/from-tfsJan Kotas1-1/+1
Merge changes from TFS
2015-02-11Address PR feedback on ETW disablement on UnixStephen Toub1-2/+2
2015-02-11Fix rebuild issue with development packageMatt Mitchell1-1/+1
If the development package is deleted and then a rebuild is attempted we fail because mscorlib is not where we think it should be. We should be looking for mscorlib.pdb in the PDBs dir and also building the packages after the PDBs are moved.
2015-02-12Merge pull request #215 from mmitche/sos-in-dev-packageMatt Mitchell1-1/+3
Add sos to the development package
2015-02-11Fix ARM Ready To Run: A dynamic helper generator was not allocating enough ↵John Chen1-1/+1
memory. [tfs-changeset: 1414126]
2015-02-11Disable a few PAL sscanf test casesSergiy Kuryata2-3/+3
These tests need to be temporary disabled untill the issue https://github.com/dotnet/coreclr/issues/161 is fixed. This needs to be done in order to enable running PAL tests in the lab. Currently these test cases fail on Mac and Linux release builds.
2015-02-11Add abs(__int64) overload for 64-bit targets. Fixes #143Kasper F. Brandt9-1/+118
2015-02-11Add sos to the development packageMatt Mitchell1-1/+3
2015-02-11Merge pull request #189 from akoeplinger/fix-filename-casingAlexGhiondea3-6/+6
Correct casing of file paths in mscorlib
2015-02-11Merge pull request #212 from poizan42/fix-hardcoded-tools-resgen-pathAlexGhiondea1-1/+1
Use $(SDK40ToolsPath) to get path to ResGen instead of hardcoding "NETFX 4.5.1 Tools".
2015-02-11Remove the CPP stubs and ensure to mark the leaf endGeoff Norton2-20/+2
2015-02-11Use $(SDK40ToolsPath) to get path to ResGen instead of hardcoding "NETFX ↵Kasper F. Brandt1-1/+1
4.5.1 Tools". Fixes #210
2015-02-11Implement JIT_MemSet and JIT_MemCpy for clangGeoff Norton2-0/+44
The windows build has a hand written version of these functions, but modern systems should have an equivalent performant version of this. We do need to wrap them to get the trap for a null reference exception, but after that we can tail call directly.
2015-02-11Correct casing of file paths in mscorlibAlexander Köplinger3-6/+6
Some of the files had a different path/filename casing in the project reference than on disk.
2015-02-11Correct handling of paths with spaces and ampersands when building on windows.Kasper F. Brandt4-7/+13
Fixes #178
2015-02-10Merge pull request #179 from maksqwe/hresult_return_fixJan Kotas1-1/+1
AcquireNoThrow(): return type must be HRESULT