diff --git a/compiler-rt/test/ubsan/TestCases/Misc/Linux/sigaction.cpp b/compiler-rt/test/ubsan/TestCases/Misc/Linux/sigaction.cpp --- a/compiler-rt/test/ubsan/TestCases/Misc/Linux/sigaction.cpp +++ b/compiler-rt/test/ubsan/TestCases/Misc/Linux/sigaction.cpp @@ -11,7 +11,7 @@ #include #include -__attribute__((constructor(0))) void ctor() { +__attribute__((constructor(1))) void ctor() { fprintf(stderr, "INIT\n"); struct sigaction old; assert(!sigaction(SIGSEGV, nullptr, &old));