<div dir="ltr">This question is probably better addressed to the Clang mailing list. Moving llvm-dev to BCC so replies move to cfe-dev.<br><br><div class="gmail_quote"><div dir="ltr">On Tue, May 17, 2016 at 9:21 AM Dustyn Blasig via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>I'm attempting to use the above-mentioned flags together but I cannot figure out a combination of flags that will get clang to emit the dependency file if the emit-llvm flag is also on. I've seen examples in the forums of people doing this, so it seems like it should work, but there must be some small mistake I'm making.</div><div><br></div><div><div>clang++ -O2 -o build/network.ll network.cxx -std=c++11 -S -emit-llvm -target my_target -I /depot/include -I build -v -MMD -MP -MF build/<a href="http://network.ll.dep.mk" target="_blank">network.ll.dep.mk</a> -MT build/network.ll</div></div><div><br></div><div>I've tried a number of variations on the compiler -M flags to no avail. We do have a custom target my_target that really only adds a few additional defines into the environment. Do we need to specify something in our target to allow dependency generation?</div><div><br></div><div>Thanks!</div></div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div></div>