Displaying 3 results from an estimated 3 matches for "msasmstmt".
2012 Aug 06
0
[LLVMdev] [cfe-dev] [RFC] MS-style inline assembly
...ted in the AST?
>
> This is largely an open question and I'm still in the process of
> familiarize
> myself with the frontend. Doing this in a sane way is going to be
> critical for
> providing good diagnostic information.
>
At the moment it seems to be represented with a MSAsmStmt, which just
provides a string representation of the assembly code. As we parse it, it
would be good to have a proper AST for invidual assembly statements. Maybe
we could represent them using a list of MCInst. Not sure how the MC layer
works, but maybe we would have to fix the locations to match the...
2012 Aug 06
3
[LLVMdev] [RFC] MS-style inline assembly
All,
The purpose of this email is to open a discussion on the design and
implementation of support for Microsoft-style inline assembly in clang. The
majority of the work will be done in clang, but I'm CC'ing both dev lists to get
the most exposure possible. There are _many_ open questions and the
forthcoming description is likely to be obscure in many place (at times this
is on purpose,
2012 Aug 06
2
[LLVMdev] [cfe-dev] [RFC] MS-style inline assembly
...esented in the AST?
>
> This is largely an open question and I'm still in the process of familiarize
> myself with the frontend. Doing this in a sane way is going to be critical for
> providing good diagnostic information.
>
> At the moment it seems to be represented with a MSAsmStmt, which just provides a string representation of the assembly code.
This question concerns how we match the SourceLocations to the asm string/tokens. For the time being, I'm less concerned with good diagnostics and more concerned with getting the functionality working. I just wanted to point...