[all-commits] [llvm/llvm-project] 5b622d: tsan: don't instrument __attribute__((naked)) func...
Anton Bikineev via All-commits
all-commits at lists.llvm.org
Thu Apr 9 04:35:09 PDT 2020
Branch: refs/heads/DontSanitizeNakedFunctions
Home: https://github.com/llvm/llvm-project
Commit: 5b622d37c194eb8e0046b465ff78f4daa92139cc
https://github.com/llvm/llvm-project/commit/5b622d37c194eb8e0046b465ff78f4daa92139cc
Author: Anton Bikineev <bikineev at chromium.org>
Date: 2020-04-09 (Thu, 09 Apr 2020)
Changed paths:
M llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
M llvm/test/Instrumentation/ThreadSanitizer/tsan_basic.ll
Log Message:
-----------
tsan: don't instrument __attribute__((naked)) functions
Naked functions are required to not have compiler generated
prologues/epilogues, hence no instrumentation is needed for them.
Bugzilla: https://bugs.llvm.org/show_bug.cgi?id=45400
Differential Revision: https://reviews.llvm.org/D77477
More information about the All-commits
mailing list