<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 9, 2017, at 10:19 PM, Aayushi Agrawal <<a href="mailto:aayushigrwl1@gmail.com" class="">aayushigrwl1@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class=""><div class="">Thank you for the response.<br class=""><br class=""></div>Suppose I want to make changes in the LLVM part of Address Sanitizer.<span class="Apple-converted-space"> </span><br class="">Is there still a way to test the changes made to address sanitizer as a standalone.<br class=""></div></div></div></blockquote><div><br class=""></div><div>I don’t know what you mean by "address sanitizer as a standalone”. If you change LLVM you need to rebuild it (or clang).</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Also can a pass be run after Address Sanitizer Pass is ran, where I can access the variables created by address sanitizer [LLVM Code] so that I avoid making changes directly to the address sanitizer?<br class=""></div></div></blockquote><div><br class=""></div><div>Yes, but it may not be doable (or straightforward) to perform your logic separately as a post-pass, and you’ll still to build some infrastructure to be able to inject your pass at this point. I’m not sure what gain is expected from this, I’m missing the goal?</div><div><br class=""></div><div>— </div><div>Mehdi</div><div><br class=""></div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class=""><br class=""><div class=""><div class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Fri, Mar 10, 2017 at 12:55 AM, Mehdi Amini<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:mehdi.amini@apple.com" target="_blank" class="">mehdi.amini@apple.com</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><span class=""><br class="">> On Mar 9, 2017, at 9:25 PM, Aayushi Agrawal via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:<br class="">><br class="">> Hello<br class="">><br class="">> 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.<br class="">><br class="">> 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.<br class=""><br class=""></span>It depends what kind of changes your doing and what kind of test you need to perform I guess.<br class="">AFAIK, ASAN is split between a transformation in LLVM and a runtime in compiler-rt.<br class="">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).<br class=""><br class="">—<br class=""><span class="HOEnZb"><font color="#888888" class="">Mehdi<br class=""><br class=""></font></span></blockquote></div><br class=""><br clear="all" class=""><br class="">--<span class="Apple-converted-space"> </span><br class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class="">Aayushi Agrawal<br class=""></div><span style="font-size: 12.8000001907349px;" class="">B.Tech(Final Year)</span></div></div>Computer Science Engineering Undergraduate<br class=""></div>LNMIIT,JAIPUR</div></div><div class="">Contact - 09649357639</div></div></div></div></div></div></div></div></div></div></div></div></div></blockquote></div><br class=""></body></html>