summaryrefslogtreecommitdiff
path: root/src/palrt
AgeCommit message (Collapse)AuthorFilesLines
2016-12-23Remove all usage of vsnprintf (#8709)Jan Vorlicek1-1/+1
This change removes all usages of vsnprintf and modifies runtime to not to use vsnprintf or _vsnprintf I've also fixed two issues in PAL TRACE function string format parameters that caused crashes when I was trying to run all PAL tests with PAL tracing enabled.
2016-12-23[Linux] Fix cross-architecture component build configuration for ↵Hyeongseok Oh1-1/+1
ARM32-target (#8687) * fix CMakeLists.txt for palrt * Modify CMakeLists.txt for cross-architecture component configuaration Add coreclrpal project to fix a dependency issue when CMake configuration * Allow only x64-host/arm-target for linux allow x64-host/arm-target only, because pal is not stable for x86 now * Update build.sh delete NumProc=1 (inserted for debugging) * Change x64-host to x86-host for arm-target JIT correctness problem, and fix CMake configuration for x86 in pal * Fix type * Update CMakeLists.txt * fix style * Set x86 when arm-target/x64-host * fix typo
2016-11-04Remove more PAL functions (#8009)Jan Vorlicek2-12/+17
This change removes the following PAL functions and their related PAL tests: _i64tow _itow lstrcatW lstrcpyW wsprintfA wsprintfW lstrcpynW The lstrcpynW was actually used in two functions in palrt and I have replaced it with StringCchCopyNW. The _i64tow and _itow were used as an implementation of the _i64tow_s and _itow_s. Since these _s versions were also implemented in PAL for its internal purposes, I have exposed them and got rid of the unsafe versions.
2016-06-02Fixing GUID_NULL. (#5415)Rajkumar Janakiraman1-1/+1
2016-01-27Update license headersdotnet-bot16-65/+49
2016-01-21FIx the incremental build for WindowsJan Vorlicek1-1/+1
Conflicts: build.cmd src/dlls/clretwrc/CMakeLists.txt Cleanup
2015-12-11Enable ILASM for *nixKyungwoo Lee2-0/+29
This enables ILASM for x-platforms. 1. Added a bunch of warning disable options mostly due to this prebuilt asmparse.cpp 2. Create a separte entry point "main" to pass WCHAR arguments. 3. PDB (CorSymWriter) part is disabled. 4. Converting/embedding resource file to binary is disabled. 5. jkotas kindly provided a code for IsTextUnicode which is unavailable on CoreCLR.
2015-11-23Delete code under !NO_CRT defineJan Kotas1-2/+0
It is always defined - even in internal builds
2015-10-27Implement CoTaskMemRealloc in PALstephentoub1-0/+5
Also implement CoTaskMemRealloc in PAL, as it's exposed via the public Marshal.CoTaskMemRealloc.
2015-10-13Implement CoCreateGuid using uuid_generate on UnixJan Vorlicek1-11/+0
We were generating GUIDs on Unix as random numbers. But that is not correct since GUIDs have defined structure with bits having specific meanings. For example, there are four bits that represent the type of the GUID, which means whether the guid is randomly generated, name based on SHA1, time based etc. This change changes the CoCreateGuid to use the uuid_generate function from the uuid library that should generate well-formed GUIDs on Linux and OSX and the uuid_create on FreeBSD.
2015-09-09Respond to PR feedback.Lakshmi Priya Sekar1-3/+3
2015-09-08Replace MAX_PATH with new defines, rest of coreclr.Lakshmi Priya Sekar3-6/+6
2015-08-25Replace MAX_PATH with new defines in vm.Lakshmi Priya Sekar1-2/+2
2015-05-02Fixed PAL thread allocation stack overflow.Mike McLaughlin1-0/+3
Add -Bsymbolic linker option to prevent static variables from being shared across PAL instances Install coreclrpal and palrt libraries so VS has easy access to link against them. Don't install the debug-pal library to binary directory. Fix "corerun" lldb test command.
2015-04-01Fix next round of warning typesJan Vorlicek2-9/+9
This change fixes the following warnings: 1) Assignment in a condition should be wrapped in () 2) Priority of && / || should be indicated by parentheses. 3) Unknown #pragma optimize ifdefed out for non MSVC 4) Unused functions deleted or put under #ifdef 5) Extra tokens warning disabling moved to the CMakeLists.txt in the src/inc 6) Self assignment of a member or local variable 7) Assigning ~0 to a bitfield member that was just 8 bit wide It also fixes a bug in the STRESS_LOGxx macro invocation in exceptionhandling.cpp and stackwalk.cpp related to recent adding the DBG_ADDR macro usage. This macro expanded a single parameter into two expressions to extract high / low 32 bits separately. But the STRESS_LOGxx parameters are passed to the StressLog::LogMsg method as follows: (void*)(size_t)(data1) That means that the expanded pair x, y would be inserted as data 1 and that leads to ignoring the x due to the comma operator.
2015-02-05Make DBI build on LinuxEugene Zemtsov2-0/+35
- 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-01-30Initial commit to populate CoreCLR repo dotnet-bot16-0/+4099
[tfs-changeset: 1407945]