[msan] Fix potential infinite recursion in a test.
If printf is intercepted (it is not atm), REAL(printf) call in the interceptor would get redirected back to my_lgamma, resulting in infinite recursion. llvm-svn: 208294
This commit is contained in:
parent
2b6b3d1c5d
commit
9c20cb1a7c
|
|
@ -34,7 +34,6 @@ int my_gettimeofday(struct timeval *p, void *q) {
|
|||
}
|
||||
|
||||
double my_lgamma(double x) {
|
||||
printf("zzz\n");
|
||||
return x;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue