cid 179eed8f1b6867fd2fc7d59772e77e3a02bb684a832d82c38b33e9bca267b130 · original · via openalex
Title: Dynamic Race Detection with LLVM Compiler Compile-Time Instrumentation for ThreadSanitizer Authors: Konstantin Serebryany; Alexander Potapenko; Timur Iskhodzhanov; Dmitriy Vyukov Venue: Year: 2011 Canonical: openalex:https://openalex.org/W2188103726 URL: https://openalex.org/W2188103726 Collector: openalex OA: false ABSTRACT 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, 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 for interactive use. 1