[LSan] Add function attribute forgotten in r235728.

llvm-svn: 235761
This commit is contained in:
Alexey Samsonov 2015-04-24 19:45:46 +00:00
parent a01b1afad4
commit 5e0774631a
1 changed files with 1 additions and 0 deletions

View File

@ -702,6 +702,7 @@ void __lsan_do_leak_check() {
#endif // CAN_SANITIZE_LEAKS
}
SANITIZER_INTERFACE_ATTRIBUTE
int __lsan_do_recoverable_leak_check() {
#if CAN_SANITIZE_LEAKS
if (common_flags()->detect_leaks)