From 18b8b37ca3715abd7ea86295a9921d9391ce093b Mon Sep 17 00:00:00 2001 From: Nikolai Nosov Date: Sat, 11 Jan 2020 14:54:57 +0400 Subject: [PATCH] added some useful info about compiler options --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 04ebe3d..d5aee93 100644 --- a/README.md +++ b/README.md @@ -1 +1,7 @@ -# pstrace \ No newline at end of file +# 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. \ No newline at end of file