aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2020-01-27 18:43:46 -0800
committerPeter Collingbourne <peter@pcc.me.uk>2020-04-17 17:26:30 -0700
commit21d50019ca83765a655b3d67331dfb83cf3d260d (patch)
tree8c29bcfb6ddcceec95dc733ab02fe059752a1f90 /clang/lib/Lex/ModuleMap.cpp
parent91a6bfed61631b23deabad9986ac29b74d7491ea (diff)
downloadllvm-21d50019ca83765a655b3d67331dfb83cf3d260d.zip
llvm-21d50019ca83765a655b3d67331dfb83cf3d260d.tar.gz
llvm-21d50019ca83765a655b3d67331dfb83cf3d260d.tar.bz2
scudo: Add support for diagnosing memory errors when memory tagging is enabled.
Introduce a function __scudo_get_error_info() that may be called to interpret a crash resulting from a memory error, potentially in another process, given information extracted from the crashing process. The crash may be interpreted as a use-after-free, buffer overflow or buffer underflow. Also introduce a feature to optionally record a stack trace for each allocation and deallocation. If this feature is enabled, a stack trace for the allocation and (if applicable) the deallocation will also be available via __scudo_get_error_info(). Differential Revision: https://reviews.llvm.org/D77283
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions