<div dir="ltr"><div>I can generate debug info using opt like this:</div><div>opt < a.bc > /dev/null -mypass -debug</div><div><br></div><div>But I don't know how to do it using llc.</div><div>I check <a href="http://llvm.org/docs/CommandGuide/llc.html">http://llvm.org/docs/CommandGuide/llc.html</a></div>
<div>there are not any information about debug flags.</div><div><br></div><div>Purpose</div><div>EX:</div><div>I want to print all the DEBUG(dbgs()......) in llvm/lib/CodeGen/RegAllocGreedy.cpp .</div><div>What should I do?</div>
<div><br></div></div>