added some useful info about compiler options

This commit is contained in:
2020-01-11 14:54:57 +04:00
parent 8f7fed23dc
commit 18b8b37ca3
+7 -1
View File
@@ -1 +1,7 @@
# pstrace # Pretty Stack Trace library
# unwinding-related gcc options
*-funwind-tables* tells linker to generate .eh_frame section containing CFI. enabled by default if gcc/g++ used for linking
*-fexceptions* Enable exception handling. Generates extra code needed to propagate exceptions.
*-rdynamic* exports the symbols of an executable, allows to print function names in backtrace
*-fno-omit-frame-pointer* instructs the compiler to store the stack frame pointer in a register RBP for x86_64.