Skip to content
Snippets Groups Projects
Commit aa7f2b5a authored by Kostya Serebryany's avatar Kostya Serebryany
Browse files

[tsan] disable a failing test until it gets fixed. fix lint

llvm-svn: 175137
parent 25d5941e
No related branches found
No related tags found
No related merge requests found
......@@ -117,7 +117,8 @@ void MaybeReexec() {
internal_strncpy(new_env, dyld_insert_libraries, old_env_len);
new_env[old_env_len] = ':';
// Copy fname_len and add a trailing zero.
internal_strncpy(new_env + old_env_len + 1, info.dli_fname, fname_len + 1);
internal_strncpy(new_env + old_env_len + 1, info.dli_fname,
fname_len + 1);
setenv(kDyldInsertLibraries, new_env, /*overwrite*/1);
} else {
// Set DYLD_INSERT_LIBRARIES equal to the runtime dylib name.
......
......@@ -20,7 +20,8 @@ void *Thread1(void *x) {
}
void *Thread2(void *x) {
S.c2 = 1;
// FIXME: enable this line back once gvn vs tsan is fixed.
// S.c2 = 1;
return NULL;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment