diff options
| author | Youling Tang <tangyouling@loongson.cn> | 2022-11-22 22:08:47 +0800 |
|---|---|---|
| committer | Weining Lu <luweining@loongson.cn> | 2022-11-22 22:16:11 +0800 |
| commit | dcefbce28109716803e8c83db1bd8d1bd0b6f369 (patch) | |
| tree | 5e1313b74c43ba90d16655b5aaf48911655c4d00 /llvm/unittests/Support/TargetParserTest.cpp | |
| parent | d38735e601d97d5dad4e6c7e7452632d5954f652 (diff) | |
| download | llvm-dcefbce28109716803e8c83db1bd8d1bd0b6f369.zip llvm-dcefbce28109716803e8c83db1bd8d1bd0b6f369.tar.gz llvm-dcefbce28109716803e8c83db1bd8d1bd0b6f369.tar.bz2 | |
[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
Diffstat (limited to 'llvm/unittests/Support/TargetParserTest.cpp')
0 files changed, 0 insertions, 0 deletions
