diff options
author | Kostya Serebryany <kcc@google.com> | 2014-09-02 21:46:51 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2014-09-02 21:46:51 +0000 |
commit | ad23852ac3cd606501aab5bd39a7ee59c07453c4 (patch) | |
tree | d59d0f3248e85721f587819631d37bc64c0b3641 /llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp | |
parent | 4c24d73709124eb5c623b2cf692e3184b19186de (diff) | |
download | llvm-ad23852ac3cd606501aab5bd39a7ee59c07453c4.zip llvm-ad23852ac3cd606501aab5bd39a7ee59c07453c4.tar.gz llvm-ad23852ac3cd606501aab5bd39a7ee59c07453c4.tar.bz2 |
[asan] Assign a low branch weight to ASan's slow path, patch by Jonas Wagner. This speeds up asan (at least on SPEC) by 1%-5% or more. Also fix lint in dfsan.
llvm-svn: 216972
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp index f79b203..771dcd7 100644 --- a/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp +++ b/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp @@ -139,7 +139,7 @@ class DFSanABIList { std::unique_ptr<SpecialCaseList> SCL; public: - DFSanABIList(std::unique_ptr<SpecialCaseList> SCL) : SCL(std::move(SCL)) {} + DFSanABIList(std::unique_ptr<SpecialCaseList> SCL) : SCL(std::move(SCL)) {} /// Returns whether either this function or its source file are listed in the /// given category. |