diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-11-08 09:45:06 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-11-08 09:45:06 +0000 |
commit | 02d97aa74e78c288a0ea9d5eb590b2c7f0e44770 (patch) | |
tree | 6163d9add4c26c48c165304361fff0a62951d1a2 /llvm/lib/Support/Signals.cpp | |
parent | f046f72efa55cd7b2f6bfd591b9b0d65ed3a3cc6 (diff) | |
download | bcm5719-llvm-02d97aa74e78c288a0ea9d5eb590b2c7f0e44770.tar.gz bcm5719-llvm-02d97aa74e78c288a0ea9d5eb590b2c7f0e44770.zip |
Appease hosts without HAVE_BACKTRACE nor ENABLE_BACKTRACES.
llvm/lib/Support/Signals.cpp:66:13: warning: unused function 'printSymbolizedStackTrace' [-Wunused-function]
llvm/lib/Support/Signals.cpp:52:13: warning: function 'findModulesAndOffsets' has internal linkage but is not defined [-Wundefined-internal]
llvm-svn: 252418
Diffstat (limited to 'llvm/lib/Support/Signals.cpp')
-rw-r--r-- | llvm/lib/Support/Signals.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Support/Signals.cpp b/llvm/lib/Support/Signals.cpp index 0348c9f6651..3dc6b7c99d0 100644 --- a/llvm/lib/Support/Signals.cpp +++ b/llvm/lib/Support/Signals.cpp @@ -62,6 +62,10 @@ static FormattedNumber format_ptr(void *PC) { return format_hex((uint64_t)PC, PtrWidth); } +static bool printSymbolizedStackTrace(void **StackTrace, int Depth, + llvm::raw_ostream &OS) + LLVM_ATTRIBUTE_USED; + /// Helper that launches llvm-symbolizer and symbolizes a backtrace. static bool printSymbolizedStackTrace(void **StackTrace, int Depth, llvm::raw_ostream &OS) { |