summaryrefslogtreecommitdiff
path: root/compileoptions.cmake
AgeCommit message (Collapse)AuthorFilesLines
2017-06-06Rename CMAKE_ENABLE_CODE_COVERAGE to CLR_CMAKE_ENABLE_CODE_COVERAGE (#12106)Omair Majid1-2/+2
2017-06-02Add support for not breaking *nix build on warnings (#12039)Omair Majid1-2/+4
Add a build flag to make -Werror optional and let the build continue even in the presence of warnings. This option is very useful for anyone compiling with a different (version of the) compiler. A different (version of the) compiler may produce a different set of warnings and a piece of code that compiles without warnings may emit warnings with a different (version of the) compiler. Resolves https://github.com/dotnet/coreclr/issues/8586
2016-12-20[x86/Linux] Implement libunwind-based unwindLazyStack (#8686)Jonghyun Park1-5/+1
* [x86/Linux] Implement libunwind-based unwindLazyStack This commit implements libunwind-based unwindLazyStack for x86/Linux in order to fix #8625.
2016-12-13[x86/Linux] Fix "Bad opcode" assert in unwindLazyState (#8609)Jonghyun Park1-1/+5
* [x86/Linux] Fix "Bad opcode" assert in unwindLazyState This commit suppresses "Bad opcode" assert while runing "Hello, World" example. This commit address the following three code patterns discovered while digging the assert failure: - and $0x1, %al - xor $0xff, %al - stack protection code: mov %gs:<off>, <reg> cmp <off>(%esp), <reg> mov <reg>, <off>($esp) jne <disp32> This commit revises LazyMachState::unwindLazyState to handle the first two patterns, and revises compile options not to emit the third pattern.
2016-06-09Add -DARM_SOFTFP inside compileoptions.cmake (#5630)Jonghyun Park1-1/+1
Currently, '-DARM_SOFTFP' is added inside jit/CMakeList.txt and vm/CMakeLists.txt, and thus the header definition might be inconsistent across each componenet. This inconsistency results in some strange behavior discussed in #5629. This commit tries to enforce the consistent definition of '-DARM_SOFTFP' for every component via definiing it inside compileoptions.cmake in order to fix #5629.
2016-05-12Enable SHA256 to be used as hashing algorithm for compiler/assemblerGaurav Khanna1-0/+3
2016-05-04Merge pull request #4765 from adityamandaleeka/array_alloc_bounds_checkAditya Mandaleeka1-0/+4
Add fwrapv compile option
2016-05-04Unix/Build: use -fsigned-charMyungJoo Ham1-0/+4
Some architectures including ARM assumes that plain char is unsigned unlike x64. Because CoreCLR has been assuming char is signed, we need to explictly tell the toolchain the signedness of char type. Fix #4746 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2016-05-03Add 'fwrapv' compile option.Aditya Mandaleeka1-0/+4
2016-04-26This has following changes:Rahul Kumar1-13/+12
1. Update arm64 toolset to latest. 2. Link against ucrt. 3. Fix tls offsets which have changed due to updated toolset 4. Fix source code in decimal.cpp to avoid integer overflow. Result of signed integer overlfow is undefined in C++. 5. Enable build of sos which can be loaded in arm64 windbg 6. Add nop to empty assembly marker methods as new toolset generates invalid .pdata for them.
2016-04-18enable build of cross target components.Rahul Kumar1-0/+131
Currently only enabled for arm64