about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-01-29 07:44:36 +0000
committerbors <bors@rust-lang.org>2020-01-29 07:44:36 +0000
commitedb368491551a77d77a48446d4ee88b35490c565 (patch)
tree711d4b5a6e40ef4281b2a4b3f5c9cb9aa8c41f5f /src/test/codegen/src-hash-algorithm
parent343432a74d1b92e4d3e71de4271e68304e046da3 (diff)
parent47fd27a637b7311c81437f138932ddb426350ab7 (diff)
downloadrust-edb368491551a77d77a48446d4ee88b35490c565.tar.gz
rust-edb368491551a77d77a48446d4ee88b35490c565.zip
Auto merge of #68572 - tmiasko:sanitizer-use-after-scope, r=nikic
Detect use-after-scope bugs with AddressSanitizer

Enable use-after-scope checks by default when using AddressSanitizer.
They allow to detect incorrect use of stack objects after their scope
have already ended. The detection is based on LLVM lifetime intrinsics.

To facilitate the use of this functionality, the lifetime intrinsics are
now emitted regardless of optimization level if enabled sanitizer makes
use of them.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions