forked from OSchip/llvm-project
[compiler-rt][hwasan] Add definition for Symbolizer::SymbolizeFrame
This is undefined if SANITIZER_SYMBOLIZER_MARKUP is 1, which is the case for Fuchsia, and will result in a undefined symbol error. This function is needed by hwasan for online symbolization, but is not needed for us since we do offline symbolization. Differential Revision: https://reviews.llvm.org/D99386
This commit is contained in:
parent
0fcb898f10
commit
a786f2badc
|
@ -54,6 +54,10 @@ bool Symbolizer::GetModuleNameAndOffsetForPC(uptr pc, const char **module_name,
|
|||
return false;
|
||||
}
|
||||
|
||||
// This is mainly used by hwasan for online symbolization. This isn't needed
|
||||
// since hwasan can always just dump stack frames for offline symbolization.
|
||||
bool Symbolizer::SymbolizeFrame(uptr addr, FrameInfo *info) { return false; }
|
||||
|
||||
// This is used in some places for suppression checking, which we
|
||||
// don't really support for Fuchsia. It's also used in UBSan to
|
||||
// identify a PC location to a function name, so we always fill in
|
||||
|
|
Loading…
Reference in New Issue