[llvm-dev] Modifying Address Sanitizer

Mehdi Amini via llvm-dev llvm-dev at lists.llvm.org
Thu Mar 9 21:55:06 PST 2017


> On Mar 9, 2017, at 9:25 PM, Aayushi Agrawal via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> Hello
> 
> I am willing to make changes in Address Sanitizer for experimentation. But as I am a naive user I am confused with the fact that if I make changes to Address Sanitizer do I have to rebuild the whole LLVM. 
> 
> Could somebody please help me figure out a way in which I can make changes to address sanitizer and do not have to compile the whole LLVM. 

It depends what kind of changes your doing and what kind of test you need to perform I guess. 
AFAIK, ASAN is split between a transformation in LLVM and a runtime in compiler-rt.
Ultimately I expect that if you already have a build, and you need to rebuild the runtime or clang after changing something in the code, the incremental build should be “fast” (few seconds to a few tens of seconds).

— 
Mehdi



More information about the llvm-dev mailing list