diff options
author | Brian Robbins <brianrob@microsoft.com> | 2015-10-06 16:36:54 -0700 |
---|---|---|
committer | Brian Robbins <brianrob@microsoft.com> | 2015-10-06 16:36:54 -0700 |
commit | ebc35416c4b57a3415f4f1bbde385e159eb520ca (patch) | |
tree | 4b05b7708ead780f04c2b251e65f29135df9b7ff /CMakeLists.txt | |
parent | 059b6592a9bc1390a982f34a4a693a1159d7bd97 (diff) | |
download | coreclr-ebc35416c4b57a3415f4f1bbde385e159eb520ca.tar.gz coreclr-ebc35416c4b57a3415f4f1bbde385e159eb520ca.tar.bz2 coreclr-ebc35416c4b57a3415f4f1bbde385e159eb520ca.zip |
Compile with frame pointers on UNIX builds.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d899ee6cab..ab351ed0da 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -395,6 +395,9 @@ add_compile_options(-fms-extensions ) #-fms-compatibility Enable full Microsoft Visual C++ compatibility #-fms-extensions Accept some non-standard constructs supported by the Microsoft compiler +# Disable frame pointer optimizations so profilers can get better call stacks +add_compile_options(-fno-omit-frame-pointer) + endif(CLR_CMAKE_PLATFORM_UNIX) add_subdirectory(src/debug/debug-pal) |