[all-commits] [llvm/llvm-project] 6ab9f1: [Driver] Fix -fsanitize-address-stack-use-after-sc...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Mon Feb 6 12:54:46 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6ab9f1e59371fe96ca3fda1a26a28ae0b7caf637
https://github.com/llvm/llvm-project/commit/6ab9f1e59371fe96ca3fda1a26a28ae0b7caf637
Author: Fangrui Song <i at maskray.me>
Date: 2023-02-06 (Mon, 06 Feb 2023)
Changed paths:
M clang/lib/Driver/ToolChains/LazyDetector.h
Log Message:
-----------
[Driver] Fix -fsanitize-address-stack-use-after-scope after D142606
Driver::getToolChain called by Driver::BuildCompilation gets the
`Triple` argument from a temporary. With delayed detection due to
LazyDetector, we would reference a dangling `Triple`.
More information about the All-commits
mailing list