Geoffrey Keating wrote:
> Daniel Berlin <[EMAIL PROTECTED]> writes:
> 
>> Tom Tromey wrote:
>>>>>>>> "Devang" == Devang Patel <[EMAIL PROTECTED]> writes:
>>> Devang> This version removes internal radar numbers and replaces s/
>>> Devang> DW_AT_APPLE.../DW_AT_GNU...
>>>
>>> I read this.  I'm not anywhere near an expert in dwarf or anything
>>> related to this proposal, so please bear with me if I say something
>>> dumb :-).
>>>
>>> I do have a few questions and concerns.
>>>
>>>
>> In addition to Tom's concerns, it seems to me to be a *really bad idea*
>> to try to come up with integer values for every single message, instead
>> of just placing a string there.
> 
> One issue here is that this interacts poorly with
> internationalization.  
> No matter what you do, you'll need to have a
> table of possible strings somewhere, so you might as well save space
> by not putting it in every object file.

I believe this is a red herring.
We control the debug output machinery generating this, and can simply
tell it to only deal in one language.

Trying to catalogue and assign a permanent place and number to every
single optimization message a compiler can generate is a much much much
worse idea, IMHO.

Reply via email to