Dynamic race detection with LLVM compiler: Compile-time instrumentation for ThreadSanitizer

61Citations
Citations of this article
28Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Data races are among the most difficult to detect and costly bugs. Race detection has been studied widely, but none of the existing tools satisfies the requirements of high speed, detailed reports and wide availability at the same time. We describe our attempt to create a tool that works fast, has detailed and understandable reports and is available on a variety of platforms. The race detector is based on our previous work, ThreadSanitizer [1], and the instrumentation is done using the LLVM compiler. We show that applying compiler instrumentation and sampling reduces the slowdown to less than 1.5x, fast enough to use instrumented programs interactively. © 2012 Springer-Verlag.

Cite

CITATION STYLE

APA

Serebryany, K., Potapenko, A., Iskhodzhanov, T., & Vyukov, D. (2012). Dynamic race detection with LLVM compiler: Compile-time instrumentation for ThreadSanitizer. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 7186 LNCS, pp. 110–114). https://doi.org/10.1007/978-3-642-29860-8_9

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free