summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/asan_suppressions.cc
Commit message (Collapse)AuthorAgeFilesLines
* compiler-rt: Rename .cc file in lib/asan to .cppNico Weber2019-08-011-104/+0
| | | | | | Like r367463, but for asan. llvm-svn: 367558
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* General definition for weak functionsMarcos Pividori2017-01-291-9/+3
| | | | | | | | | | | | | | | | | | In this diff, I define a general macro for defining weak functions with a default implementation: "SANITIZER_INTERFACE_WEAK_DEF()". This way, we simplify the implementation for different platforms. For example, we cannot define weak functions on Windows, but we can use linker pragmas to create an alias to a default implementation. All of these implementation details are hidden in the new macro. Also, as I modify the name for exported weak symbols on Windows, I needed to temporarily disable "dll_host" test for asan, which checks the list of functions included in asan_win_dll_thunk. Differential Revision: https://reviews.llvm.org/D28596 llvm-svn: 293419
* [scan-build] fix logic error warning emitted on compiler-rt code baseKostya Serebryany2016-05-021-0/+1
| | | | | | | | | | | | | | | | | Summary: Fix a "called c++ object pointer is null" warning emitted by Clang Static Analyzer on the following file: - lib/asan/asan_suppressions.cc. Signed-off-by: Apelete Seketeli <apelete@seketeli.net> Reviewers: kcc Subscribers: Eugene.Zelenko, kubabrecka, llvm-commits Differential Revision: http://reviews.llvm.org/D19627 llvm-svn: 268282
* [sanitizer] use simpler symbolizer interface (GetModuleNameForPc) where ↵Kostya Serebryany2015-03-051-7/+3
| | | | | | applicable llvm-svn: 231337
* Reland r230419 - add __asan_default_suppressions() hook with a fix for WindowsTimur Iskhodzhanov2015-02-251-0/+12
| | | | llvm-svn: 230501
* Revert 230419, 230425, 230432.Nico Weber2015-02-251-11/+0
| | | | | | | They don't build on Windows. http://lab.llvm.org:8011/builders/sanitizer-windows/ went red for example. llvm-svn: 230461
* [asan] attempting to fix the windows build Kostya Serebryany2015-02-251-5/+4
| | | | llvm-svn: 230425
* [asan] add __asan_default_suppressions() hookKostya Serebryany2015-02-251-0/+12
| | | | llvm-svn: 230419
* [asan] add suppressions for odr violationsKostya Serebryany2015-02-251-1/+10
| | | | llvm-svn: 230409
* [Sanitizer] Refactor SuppressionContext class.Alexey Samsonov2015-02-201-17/+23
| | | | | | | | | | | | | | SuppressionContext is no longer a singleton, shared by all sanitizers, but a regular class. Each of ASan, LSan, UBSan and TSan now have their own SuppressionContext, which only parses suppressions specific to that sanitizer. "suppressions" flag is moved away from common flags into tool-specific flags, so the user now may pass ASAN_OPTIONS=suppressions=asan_supp.txt LSAN_OPIONS=suppressions=lsan_supp.txt in a single invocation. llvm-svn: 230026
* Implement AddressSanitizer suppressions.Kuba Brecka2014-12-051-0/+87
Adds 3 new suppression types, "interceptor_name", "interceptor_via_fun", "interceptor_via_lib". Reviewed at http://reviews.llvm.org/D6280. llvm-svn: 223508
OpenPOWER on IntegriCloud