[all-commits] [llvm/llvm-project] dcefbc: [Sanitizer] Fix the implementation of internal_fst...
Lu Weining via All-commits
all-commits at lists.llvm.org
Tue Nov 22 06:16:51 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dcefbce28109716803e8c83db1bd8d1bd0b6f369
https://github.com/llvm/llvm-project/commit/dcefbce28109716803e8c83db1bd8d1bd0b6f369
Author: Youling Tang <tangyouling at loongson.cn>
Date: 2022-11-22 (Tue, 22 Nov 2022)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
Log Message:
-----------
[Sanitizer] Fix the implementation of internal_fstat on LoongArch
If `pathname` is an empty string and the AT_EMPTY_PATH flag is specified in `flags`,
statx `pathname` argument is of type `const char *restrict`, so it should be `""`
instead of `0`.
Reviewed By: SixWeining, xen0n, xry111, lixing-star
Differential Revision: https://reviews.llvm.org/D138414
More information about the All-commits
mailing list