commit | 19b7ebb558ccbfcbec3cb89f39b326d34dd0f331 | [log] [tgz] |
---|---|---|
author | Youling Tang <tangyouling@loongson.cn> | Tue Nov 22 22:08:47 2022 +0800 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Nov 22 06:20:11 2022 -0800 |
tree | cf6b0a539f9dd6efdeab6e6c534997b1358fc569 | |
parent | ce0c548f7fe3a09f3d9e76994fc29e3cf502a7a1 [diff] |
[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 GitOrigin-RevId: dcefbce28109716803e8c83db1bd8d1bd0b6f369