Vendor import of compiler-rt release_80 branch r354799:

https://llvm.org/svn/llvm-project/compiler-rt/branches/release_80@354799
This commit is contained in:
Dimitry Andric
2019-02-25 19:07:32 +00:00
parent 8e85c80dd7
commit 70b4e3ee53
+1 -1
View File
@@ -14,7 +14,7 @@ int main(void) {
handle->handle_bytes = MAX_HANDLE_SZ;
int mount_id;
int res = name_to_handle_at(AT_FDCWD, "/bin/cat", handle, &mount_id, 0);
int res = name_to_handle_at(AT_FDCWD, "/dev/null", handle, &mount_id, 0);
assert(!res);
__msan_check_mem_is_initialized(&mount_id, sizeof(mount_id));
__msan_check_mem_is_initialized(&handle->handle_bytes,