diff options
author | Jakub Łuczyński <doubleloop@o2.pl> | 2020-02-18 22:40:04 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2020-02-21 00:08:26 -0800 |
commit | 82936c3b9a2802aa73827974b00ac549d6d56d97 (patch) | |
tree | f07e06ed7df1d51a698f0a0616ba7f331a9fbaf6 | |
parent | c8ea09248bc9a801ce79d9ef40dffcabeb156ec2 (diff) | |
download | rneovim-82936c3b9a2802aa73827974b00ac549d6d56d97.tar.gz rneovim-82936c3b9a2802aa73827974b00ac549d6d56d97.tar.bz2 rneovim-82936c3b9a2802aa73827974b00ac549d6d56d97.zip |
doc: LOG_CALLSTACK: mention "-no-pie" [ci skip]
close #11898
-rw-r--r-- | src/nvim/README.md | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/nvim/README.md b/src/nvim/README.md index 3f7c05757a..d14ba85546 100644 --- a/src/nvim/README.md +++ b/src/nvim/README.md @@ -23,14 +23,18 @@ Logs Low-level log messages sink to `$NVIM_LOG_FILE`. -Use `LOG_CALLSTACK()` (Linux only) to log the current stacktrace. To log to an -alternate file (e.g. stderr) use `LOG_CALLSTACK_TO_FILE(FILE*)`. - UI events are logged at DEBUG level (`DEBUG_LOG_LEVEL`). rm -rf build/ make CMAKE_EXTRA_FLAGS="-DMIN_LOG_LEVEL=0" +Use `LOG_CALLSTACK()` (Linux only) to log the current stacktrace. To log to an +alternate file (e.g. stderr) use `LOG_CALLSTACK_TO_FILE(FILE*)`. Requires +`-no-pie` ([ref](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860394#15)): + + rm -rf build/ + make CMAKE_EXTRA_FLAGS="-DMIN_LOG_LEVEL=0 -DCMAKE_C_FLAGS=-no-pie" + Many log messages have a shared prefix, such as "UI" or "RPC". Use the shell to filter the log, e.g. at DEBUG level you might want to exclude UI messages: |