On Tue, Nov 18, 2014 at 9:07 AM, Richard Biener
<richard.guent...@gmail.com> wrote:

> Can we emit this particular STABS piece in "raw" form then?  Thus
> does it work to have sth like
>
>    .stabs ...
>    .string "..."
>    .stabs ...
>
> or whatever way to emit assembled data there?

The stabstring debug information is saved as a length and a string.
For 32 bit AIX, the length is an unsigned short.  Longer entries
apparently can be stored in multiple symbol table entries, but it's
not clear how to emit assembly to produce that effect.  For 64 bit
AIX, the length is an unsigned int 32 bits, so one may be able to work
around this problem by compiling GCC on AIX in 64 bit mode.  A
conversion to default 64 bit build will take a lot of work.

Thanks, David

Reply via email to