summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2015-02-05Fix build on Linux by resolving case sensitivity issues in md/datasourceEugene Zemtsov8-11/+18
[tfs-changeset: 1411310]
2015-02-06Merge pull request #96 from mmitche/exe-pdbsMatt Mitchell5-3/+14
Enable PDB generation for corerun and coreconsole
2015-02-05Enable PDB generation for corerun and coreconsoleMatt Mitchell5-3/+14
Corerun and coreconsole are exes, so they don't share the same linker flags as the shared libraries. Set DEBUG on the EXE flags so that Release always gets debug info. Don't pass incremental linking, incompatible with debug type
2015-02-05Make DBI build on LinuxEugene Zemtsov28-56/+150
- Compile DBI on Linux. - Link DBI on Linux to the point when only symbols related to INativePipeline are missing. In order to completely link DBI we'll have to do some development, and it will be addressed by a separate change. [tfs-changeset: 1411066]
2015-02-05Build fixes for clang3.7 and systems without stropt.h.Pat Gavlin10-25/+4
- Fix setup-compiler-clang to detect binaries outside of /usr/bin - Fix ambiguously-sized cmp instructions when comparing g_GCShadow and 0 - Remove references to stropt.h. None of the defiinitions in this header are used by the product, and this header is not present on certain systems.
2015-02-04Merge pull request #42 from pborreli/typosJan Kotas40-88/+88
Fixed typos
2015-02-05Fix non-null assertion search in assertion tableMaks Naumov1-1/+1
if (impAssertion->assertionKind != OAK_NOT_EQUAL || impAssertion->op1.kind != O1K_LCLVAR || impAssertion->op1.kind != O2K_CONST_INT || impAssertion->op1.vn != chkAssertion->op1.vn) This condition is always true.
2015-02-04Enable binplacing of native CoreCLR binaries on LinuxSergiy Kuryata4-2/+9
This change adds support for binplacing native CoreCLR binaries on Linux to "$__RootBinDir/Product/$__BuildArch/$__BuildType". It reuses the mechanism that we currently have in place for Windows. Similarly to binplace implementation for Windows, it sets an environment variable (__CMakeBinDir) in build.sh and then uses its value in clang-compiler-override.txt to set CMAKE_INSTALL_PREFIX to the desired target location.
2015-02-04Merge pull request #36 from benaadams/patch-1Jan Kotas1-2/+5
Avoid unnecessary work for identical locations in Buffer.BlockCopy
2015-02-04Avoid unnecessary work for identical locations in Buffer.BlockCopyBen Adams1-2/+5
Perform validity checks to ensure parameters are correct but short-circuit out memmove when exactly the same data would be copied to the same location. There are a number of occasions; which can be intentional or unintentional, where the buffer being copied is the same place - e.g an internal buffer is the same as the return buffer, and there is no need to call memmove's overwrite safe copy. Generally the call to BlockCopy will be in a library so it is more practical to enable the check here rather than alter all the calling functions, including 3rd party libraries to preform additional checks.
2015-02-04Fixed typosPascal Borreli40-88/+88
2015-02-04Merge pull request #67 from mogemimi/fix-typoJan Kotas1-4/+4
Fix typo: VT_UNKOWN -> VT_UNKNOWN
2015-02-04Merge pull request #56 from maksqwe/fix_get_jit_manager_listMatt Mitchell1-1/+1
Fix "pNeeded" increment in GetJitManagerList()
2015-02-05Fix typo: VT_UNKOWN -> VT_UNKNOWNmogemimi1-4/+4
2015-02-04Merge pull request #62 from GeorgeSapkin/commentsJan Kotas2-2/+2
Fixed typos
2015-02-04Merge pull request #53 from ellismg/clean-unicode-charactersJan Kotas40-90/+90
Remove non ASCII characters from source files
2015-02-04Merge pull request #58 from ellismg/fix-h2inc-line-wrappingJan Kotas1-5/+13
Fix h2inc.ps1 generating invalid files on Windows 7
2015-02-04Merge pull request #46 from AlexGhiondea/masterJan Kotas1-3042/+0
Remove extraneous mscorlib.txt file
2015-02-04Fixed type: more_spacee_lock > more_space_lockGeorge Sapkin1-1/+1
2015-02-04Fixed typo: gc_reaon > gc_reasonGeorge Sapkin1-1/+1
2015-02-04Fix h2inc.ps1 generating invalid files on Windows 7Matt Ellis1-5/+13
On PowerShell 2.0, text written via Write-Output is wrapped based on the current console settings, even when output is redirected to a file. This means that the include file we generate will have lines hard wrapped unless the console is configured to have a width of > ~140 characters. PowerShell 3.0 doesn't seem to have this issue (or the default width is high enought that we don't run into the limitation), but PowerShell 2.0 is the default on Windows 7. This fix explicitly calls Console.WriteLine, which will cause the output to not be wrapped. Doing things this way means we don't have to play around with the host's buffer size. Fixes #57
2015-02-04Fix "pNeeded" increment in GetJitManagerList()Maks Naumov1-1/+1
"++" has a higher priority than "*".
2015-02-03Remove non ASCII characters from source filesMatt Ellis40-90/+90
Our native files were more or less encoded in Windows-1252, which causes problems when we try to compile them on machines where the current codepage can't represent everything that Windows-1252 can. With this conversion I just moved characters to their ASCII counterparts (e.g. no smart quotes, the section marker glyph is now "Section"). There were two places where I couldn't do the straight forward thing, in object.h we wanted to insert the Per Mille symbol in a comment so instead I just spelled out the Unicode codepoint. In morph.cpp, there was a comment pointing to a paper by Torbjörn Granlund (note the diaeresis above the second o). In this case, unfortuntely I had to just drop the diaeresis. However, searching for "Torbjorn Granlund" will lead you to the right person. Fixes #49
2015-02-03Move shebang to top of shell scriptsMatt Ellis3-4/+3
This line should be at the top of the file, not after comments. Otherwise the correct shell is not picked in some cases (like when you the scripts file via sudo).
2015-02-03Remove extraneous mscorlib.txt filealexghiondea1-3042/+0
2015-02-03Move the windows unwinder code out of the debug folder.Jan Vorlicek34-8/+223
It is a preparation for using the DAC unwinder code as an unwinder for the jitted code on Linux, because the jitter generates windows style unwind info. The unwinder is build as a static library and linked to mscordac. [tfs-changeset: 1409640]
2015-02-04Merge pull request #35 from SirCmpwn/fix-linux-buildJan Vorlicek1-1/+34
Fix error locating llvm-ar during build on Linux
2015-02-03Fix error locating llvm-ar during build on LinuxDrew DeVault1-1/+34
This manually locates the llvm toolchain and sets the relevant cmake variables. The _CMAKE_TOOLCHAIN_PREFIX variable is internal and undocumented and should probably be avoided.
2015-02-03Correct typos in paraminstanceapi.hJason Zhekov1-14/+14
2015-02-03Merge pull request #20 from ellismg/fix-mscorlib-warningsMatt Ellis1-0/+2
Fix mscorlib warnings.
2015-02-03Update copyright headerdotnet-bot5-25/+14
2015-02-03Fix mscorlib warnings.Matt Ellis1-0/+2
PinnableBufferCache uses some of the declaritive CAS attributes which don't mean anything on CoreCLR. We had disabled this warning internally, but this copy of the file is specific to open source and we didn't disable it in this file. This simply ports the change to disable this warning to mscorlib's copy of the file.
2015-02-02This change fixes a potential problem in unwinding on Linux. PUSH and POP ↵Lubomir Litchev4-17/+62
instructions were used to preserve RSI/RDI on the stack when stosd instructions are used to initialize the stack vars. These registers are used as the first two parameters to pass parameters to a callee. The change makes sure there is a FrameRegisterUsed if these PUSH/POPs need to occur. If there is no FrameRegister, the unwinding, if attempted between the first PUSH and the last POP would cause incorrect unwinding of the stack. SharedCodebaseChange: Yes SharedCodebaseChangeRisk: Low [tfs-changeset: 1409112]
2015-02-03Merge pull request #11 from dotnet-bot/from-tfsMatt Mitchell16-40/+31
Merge changes from TFS
2015-02-02Merge pull request #5 from jkotas/masterGaurav Khanna3-3/+17
Fix build breaks in GC sample project
2015-01-31Fix build breaks in GC sample projectJan Kotas3-3/+17
2015-01-31Replaced compiler option to disabled all warnings in Linux build by options ↵Jan Vorlicek16-40/+31
for explicit disabling of specific warnings. Fixed warnings that were not possible to disable (those that have no identifier) and few other trivial ones. We will need to revisit the warnings fix as many as we reasonably can. [tfs-changeset: 1408205]
2015-01-30ported a fix for AVMaoni Stephens1-2/+23
[tfs-changeset: 1408093]
2015-01-30Initial commit to populate CoreCLR repo dotnet-bot7470-0/+2725974
[tfs-changeset: 1407945]