aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CommandFlags.cpp
diff options
context:
space:
mode:
authorBen Langmuir <blangmuir@apple.com>2025-10-22 12:48:31 -0700
committerGitHub <noreply@github.com>2025-10-22 12:48:31 -0700
commit3e6f696af78b509351ce58dda2bcba2f729334cb (patch)
treeda7fa57e070a6196ec1c171cf11b8a34244f4e65 /llvm/lib/CodeGen/CommandFlags.cpp
parent8e7e9d430969611e8a5ed0ee44a1b2fd649ed992 (diff)
downloadllvm-3e6f696af78b509351ce58dda2bcba2f729334cb.zip
llvm-3e6f696af78b509351ce58dda2bcba2f729334cb.tar.gz
llvm-3e6f696af78b509351ce58dda2bcba2f729334cb.tar.bz2
[clang][deps] Fix a use-after-free from expanding response files (#164676)
In 436861645247 we accidentally moved uses of command-line args saved into a bump pointer allocator during response file expansion out of scope of the allocator. Also, the test that should have caught this (at least with asan) was not working correctly because clang-scan-deps was expanding response files itself during argument adjustment rather than the underlying scanner library. rdar://162720059
Diffstat (limited to 'llvm/lib/CodeGen/CommandFlags.cpp')
0 files changed, 0 insertions, 0 deletions