diff options
| author | Mattias Andrée <m@maandree.se> | 2026-02-22 13:42:43 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-02-22 13:42:43 +0100 |
| commit | 4050e95161407a3ee4301d968307504eff4f0932 (patch) | |
| tree | 9d4b44cd87e56340cc57f26141b011110b1bcb05 | |
| parent | Update e-mail (diff) | |
| download | liberror-backtrace-master.tar.gz liberror-backtrace-master.tar.bz2 liberror-backtrace-master.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
| -rw-r--r-- | README | 8 | ||||
| -rw-r--r-- | liberror-backtrace.7 | 16 |
2 files changed, 12 insertions, 12 deletions
@@ -2,11 +2,11 @@ Companion library to liberror. It enables backtrace support for liberror. The library need only be linked, together with -ldw -(from libelf) and -lunwind (libunwind), there is no +(from libelf) and -lunwind (libunwind); there is no header file or any functions the user should use. -Note however, for static linking you may need +Note, however, for static linking you may need -Wl,--whole-archive before and -Wl,--no-whole-archive after the library when linking; for dynamic linking, -put -lerror-backtrace before -lerror, alternative +put -lerror-backtrace before -lerror; alternatively, the library can be loaded with LD_PRELOAD if liberror -is dynamic linked. +is dynamically linked. diff --git a/liberror-backtrace.7 b/liberror-backtrace.7 index af489cf..812a3f9 100644 --- a/liberror-backtrace.7 +++ b/liberror-backtrace.7 @@ -1,4 +1,4 @@ -.TH LIBERROR-BACKTRACE 7 2019-04-14 liberror +.TH LIBERROR-BACKTRACE 7 LIBERROR .SH NAME liberror-backtrace \- implementation of backtrace for liberror .SH DESCRIPTION @@ -11,13 +11,13 @@ library. Specifically, it replaces the implementations of the and .BR liberror_print_backtrace (3) functions with implementations that actually save and print -the backtrace. There is no header files associated with the +the backtrace. There are no header files associated with the .B liberror-backtrace -library it is simply used by linking. If +library; it is simply used by linking. If .B liberror is dynamically linked, -.B liberror-backtrace shall -be linked with +.B liberror-backtrace +shall be linked with .I -lerror-backtrace -ldw -lunwind and .I -lerror-backtrace @@ -26,10 +26,10 @@ shall be specified before If .B liberror is statically linked, -.B liberror-backtrace shall -be linked with +.B liberror-backtrace +shall be linked with .I -Wl,--whole-archive -lerror-backtrace -Wl,--no-whole-archive -ldw -lunwind -and it does not matter where whether +and it does not matter whether .I -lerror-backtrace is specified before or after .IR -lerror . |
