diff options
author | Xi Ruoyao <xry111@mengyan1223.wang> | 2022-11-03 11:07:53 +0800 |
---|---|---|
committer | Weining Lu <luweining@loongson.cn> | 2022-11-03 11:08:15 +0800 |
commit | 061426df572552bc839e1a80cb29070d4242a32f (patch) | |
tree | 3c050ce08cc831bdbeff1ceafcb78a9374e13db9 /llvm/lib/Support/CommandLine.cpp | |
parent | d16b5c350473f04aae4f39344242e140b0dfd79d (diff) | |
download | llvm-061426df572552bc839e1a80cb29070d4242a32f.zip llvm-061426df572552bc839e1a80cb29070d4242a32f.tar.gz llvm-061426df572552bc839e1a80cb29070d4242a32f.tar.bz2 |
[sanitizer] Fix vfork interception on loongarch64
Fix a brown paper bag error made by me in D129418. I didn't set
ASAN_INTERCEPT_VFORK correctly for loongarch64, but created an all-zero
object for __interception::real_vfork. This caused anything calling
vfork() to die instantly.
Fix this issue by setting ASAN_INTERCEPT_VFORK and remove the bad
all-zero definition. Other ports have an all-zero common definition but
we don't need it at least for now.
And, enable ASAN vfork test for loongarch64 to prevent regression in the
future.
Differential Revision: https://reviews.llvm.org/D137160
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions