projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
059b659
)
Compile with frame pointers on UNIX builds.
author
Brian Robbins
<brianrob@microsoft.com>
Tue, 6 Oct 2015 23:36:54 +0000
(16:36 -0700)
committer
Brian Robbins
<brianrob@microsoft.com>
Tue, 6 Oct 2015 23:36:54 +0000
(16:36 -0700)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
d899ee6
..
ab351ed
100644
(file)
--- 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)