forked from OSchip/llvm-project
[LSan] Add function attribute forgotten in r235728.
llvm-svn: 235761
This commit is contained in:
parent
a01b1afad4
commit
5e0774631a
|
@ -702,6 +702,7 @@ void __lsan_do_leak_check() {
|
||||||
#endif // CAN_SANITIZE_LEAKS
|
#endif // CAN_SANITIZE_LEAKS
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SANITIZER_INTERFACE_ATTRIBUTE
|
||||||
int __lsan_do_recoverable_leak_check() {
|
int __lsan_do_recoverable_leak_check() {
|
||||||
#if CAN_SANITIZE_LEAKS
|
#if CAN_SANITIZE_LEAKS
|
||||||
if (common_flags()->detect_leaks)
|
if (common_flags()->detect_leaks)
|
||||||
|
|
Loading…
Reference in New Issue