r232389 - Global inline assembler blocks are merged before parsing, so no specific

Joerg Sonnenberger joerg at britannica.bec.de
Tue Mar 17 16:45:17 PDT 2015


On Mon, Mar 16, 2015 at 05:54:55PM -0000, Joerg Sonnenberger wrote:
> Author: joerg
> Date: Mon Mar 16 12:54:54 2015
> New Revision: 232389
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=232389&view=rev
> Log:
> Global inline assembler blocks are merged before parsing, so no specific
> location data is available. If pragma handling wants to look up the
> position, it finds the LLVM buffer and wants to compare it with the
> special built-in buffer, failing badly. Extend to the special handling
> of the built-in buffer to also check for the inline asm buffer. Expect
> only a single asm buffer. Sort it between the built-in buffers and the
> normal file buffers.
> 
> Fixes the assert part of PR 22576.

Merged to 3.6 in r232565.

Joerg



More information about the cfe-commits mailing list