[llvm-dev] Automake Assembler Assumptions with LLVM-MC

Tom Stellard via llvm-dev llvm-dev at lists.llvm.org
Thu May 19 10:56:09 PDT 2016

On Thu, May 19, 2016 at 09:33:39AM -0400, John Reagan via llvm-dev wrote:
> On Wed, May 18, 2016 at 01:10:50PM +0000, Daniel Sanders via llvm-dev wrote:
> > It's my understanding that llvm-mc is intended to be a testing tool
> > for LLVM developers rather than an assembler for end users. Users
> > should be assembling with clang.
> Not all LLVM users are clang users.  For example, we're using LLVM to build
> OpenVMS cross-compilers to x86 for our porting effort.  We have our own set
> of frontends.  We're using llvm-mc as our assembler for the lower level OS
> code. 

Maybe I'm missing something here, but it seems like if you can run llvm-mc you
should also be able to run clang with the -x assembler flag.  Is the problem
that you are unable to install clang on your dev system for some reason?


> We'll eventually port clang as well to bootstrap going forward, but OpenVMS
> doesn't have the same kind of driver-style so even there, I can't just the
> 'clang' command to control assembly.
> As for bug-for-bug compatibility in any sort of software, that's a tough choice.
> Traditionally, I've resisted such pressure but sooner or later, I've had to give
> in now and then.  As for the command line option matching, that is an area I
> wouldn't attempt to match since such options vary greatly across platforms.
> John
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

More information about the llvm-dev mailing list