<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Maybe the question is wrong.<div><br></div><div>I have my own pass (a RegionPass), what I want to do is to add some metadata in the IR and then have this metadata available for another pass (a Function Pass already existing in Transform/Instrumentation, called AddressSanitizer) and use these metadata inside it.</div><div><br></div><div>So I was thinking that maybe I have to call first my pass and then the second pass.</div><div>However, the second pass is inside the library libLLVMInstrumentation.a and to call it there is a clang option -fsanitize=address.</div><div><br></div><div>I tried these command:</div><div><br></div><div>clang -fsanitize=address -g -O0 -mllvm -polly -S -emit-llvm -Xclang -load -Xclang $HOME/bigdata/compilers/llvm35/tools/polly/Debug+Asserts/lib/LLVMPolly.so -I$HOME/bigdata/runtime/libomp_oss/exports/common.deb/include -L$HOME/bigdata/runtime/libomp_oss/exports/lin_32e.deb/lib -liomp5 myprogram.c</div><div><br></div><div>but the AddressSanitizer pass does not see any new metadata, do you have any idea where could be the problem?</div><div style="font-family: Calibri, sans-serif; font-size: 13px;"><br></div><div style="font-family: Calibri, sans-serif; font-size: 13px;">Thanks.</div><div style="font-family: Calibri, sans-serif; font-size: 13px;">Best,</div><div style="font-family: Calibri, sans-serif; font-size: 13px;">Simone</div><div><br><div><div>On Jun 23, 2014, at 15:12, Simone Atzeni <<a href="mailto:simone.at@gmail.com">simone.at@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi,<br><br>as in the subject, is it possible to call on of the analysis pass present in the LLVM (lib/ folder) within a tool pass (tools/ folder)?<br><br>Thanks.<br>Best,<br>Simone</blockquote></div><br></div></body></html>