<div dir="ltr">Hi, <div><br></div><div>I am trying to instrument a small program with dfsan at IR and then compile it. But I end up with undefined reference errors.</div><div><br></div><div>Steps taken:</div><div>1.Convert toy program to .bc </div><div>2. IR pass to insert dfsan calls</div><div>3.opt -dfsan on resultant bitcode from step 2 </div><div>4. llc step3.bc -o step4.s</div><div>5. gcc step.s -o step5.o</div><div><br></div><div>I get error  "undefined reference to `__dfsan_arg_tls' " and so forth for all functions defined.</div><div>Is there something I am missing or doing wrong in my steps.<br></div><div><br></div><div><div><div class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div>Thanks<br></div><br></div><br><div><div><div><br></div></div></div></div></div></div></div></div></div>
</div></div>