[PATCH] MC: provide the ability to disable assembly parsing
    Joerg Sonnenberger 
    joerg at britannica.bec.de
       
    Thu Feb 20 05:24:02 PST 2014
    
    
  
On Thu, Feb 20, 2014 at 12:19:57AM -0800, Saleem Abdulrasool wrote:
> This provides an interface for the frontend to disable assembly parsing.  This
> is needed in the case where inline assembly is being processed to an assembly
> output (.s).  In this case, it is preferable to not parse the assembly for
> correctness.  The Linux kernel, for example, takes advantage of this to
> use the compiler as a preprocessor to generate a specially crafted "assembly"
> file to be post-processed.
Without a further clarification for why exactly the Linux kernel has to
create invalid assembler, I see no good reason for adding such
complexity.
Joerg
    
    
More information about the llvm-commits
mailing list