commit | 050309fdc6d8416b217f651141d5f391512b1041 | [log] [tgz] |
---|---|---|
author | Sergey Matveev <earthdok@google.com> | Mon May 27 11:17:01 2013 +0000 |
committer | Sergey Matveev <earthdok@google.com> | Mon May 27 11:17:01 2013 +0000 |
tree | feb5081da44817bce6ccf9925271f05b58a91ec2 | |
parent | b28e88c18ade461f54d0f2faefb1cacb209586e2 [diff] |
Add -fsanitize=leak to driver options. If -fsanitize=leak is specified, link the program with the LeakSanitizer runtime. Ignore this option when -fsanitize=address is specified, because AddressSanitizer has this functionality built in. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182729 91177308-0d34-0410-b5e6-96231b3b80d8