<html><head><base href="x-msg://2060/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jan 11, 2012, at 6:05 PM, Carter, Jack wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div ocsi="0" fpstyle="1"><div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt; ">I have had references to llvm-mc in terms of a tester for MC level code changes and have just found and read the blog<span class="Apple-converted-space"> </span><a href="http://blog.llvm.org/2010/04/intro-to-llvm-mc-project.html" target="_blank">http://blog.llvm.org/2010/04/intro-to-llvm-mc-project.html</a>.<span class="Apple-converted-space"> </span><br><br>Am I correct that lib/Target/<target>/AsmParser/*.cpp needs to be completed to make a standalone assembler for a specific target and until that is done, llvm-mc can't be used to generate output object that is tested by elf-dump?<br></div></div></span></blockquote></div><br><div>You need to implement an AsmParser if you want to generate object files from assembly files.  You can generate object files from higher-level inputs (.c, .ll) without a functional AsmParser as long as your inputs don't use inline assembly.</div><div><br></div><div>--Owen</div></body></html>