[llvm-commits] [llvm] r139669 - in /llvm/trunk: include/llvm/MC/MCParser/AsmLexer.h lib/MC/MCParser/AsmLexer.cpp lib/MC/MCParser/AsmParser.cpp

Nick Lewycky nicholas at mxc.ca
Tue Sep 13 23:35:01 PDT 2011


Kevin Enderby wrote:
> Author: enderby
> Date: Tue Sep 13 18:45:18 2011
> New Revision: 139669
>
> URL: http://llvm.org/viewvc/llvm-project?rev=139669&view=rev
> Log:
> First step in supporting #line directives in assembler.  This step parses the
> #line directives with the needed support in the lexer.  Next will be to build
> a simple file/line# table mapping source SMLoc's for later use by diagnostics.
> And the last step will be to get the diagnostics to use the mapping for file
> and line numbers.

What is this feature? Is this for pre-processed assembly or intended to 
replace .loc? Is this syntax implemented by another assembler or is it 
something new?

Nick



More information about the llvm-commits mailing list