[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`.
Loading
Please sign in to comment