summaryrefslogtreecommitdiff
path: root/src/palrt
AgeCommit message (Collapse)AuthorFilesLines
2019-05-01Adjust some terms (#24351)Dan Moseley1-1/+1
2019-02-10Cleanup DLL exports (#22500)Jan Kotas2-6/+6
2019-02-09Set visibility option to hidden (#21924)Adeel Mujahid2-6/+6
2019-01-02Delete lstrlen from Unix PAL (#21745)Jan Kotas1-6/+6
strlen/wcslen works just fine.
2018-12-17Delete dead code (#21562)Jan Kotas3-372/+0
- Delete clix support from PAL. "clix" was launcher in the Rotor days - like "dotnet" today. - Delete URL parsing from PALRT
2018-11-28Delete code related to LoaderOptimization and SharedDomain (#21031)Jan Kotas2-264/+0
2018-07-17Move Decimal to shared (#18948)Pent Ploompuu3-1871/+0
* Move Decimal to shared * Remove DecimalCanonicalize{Internal}
2018-07-12Add prefix to DAC's PAL exports for alpine (#18873)Mike McLaughlin2-27/+1
Added some cmake logic to create assembly include mapping files. One that maps the prefixed name (DAC_foo) to the actual name (foo) which is included in the DAC module and another that maps the actual name to the prefixed name that is included in the SOS, DBI and createdump modules. The data exports like IID_IUnknown are not prefixed and don't need to be (immutable static data). There were some C++ exports functions exported with their decorated names in the CatchHardwareExceptionHolder and NativeExceptionHolderBase classes. Created PAL_* style export functions that implements the code. Fix lldb plugin cmake file to use LLDB_H/LLDB_LIB env vars to build it.
2018-03-06Remove libuuid usage (#16643)Jan Vorlicek1-0/+22
* Remove libuuid usage This change removes dependency on the libuuid library that is used for GUID creation only. It implements it using a random generator instead. It also modifies return type of PAL_Random to VOID since it was always returning TRUE and none of the existing callers were checking it. 1. Port the GUID creation to managed code. 2. Modify the PAL_Random to have 6 times better perf so that the perf of the CoCreateGuid that is used in the native runtime doesn't degrade that much w.r.t the previous state when the libuuid was used. 3. Use Interop.GetRandomBytes on Unix and fix Windows
2018-02-17delete unused mirror files (#16423)Sergey Andreenko1-1/+0
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]