mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-04 00:06:50 +00:00
[msan] Use SIGHUP instead of SIGUSR1 in test.
Apparently, SIGUSR1 does not work on x86_64+ArchLinux for some reason. For more details, see: https://groups.google.com/forum/#!topic/llvm-dev/4Ag1FF4M2Dw llvm-svn: 214289
This commit is contained in:
parent
681069d675
commit
5c72938c39
@ -25,9 +25,9 @@ int main(int argc, char *argv[]) {
|
||||
int volatile z;
|
||||
x = z;
|
||||
|
||||
signal(SIGUSR1, SignalHandler);
|
||||
kill(getpid(), SIGUSR1);
|
||||
signal(SIGUSR1, SIG_DFL);
|
||||
signal(SIGHUP, SignalHandler);
|
||||
kill(getpid(), SIGHUP);
|
||||
signal(SIGHUP, SIG_DFL);
|
||||
|
||||
return y;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user