[llvm-commits] Fw: Change DwarfUsesAbsoluteLabelForStmtList to false for X86ELFMCAsmInfo.

Jan Sjodin jan_sjodin at yahoo.com
Thu Mar 31 12:25:37 PDT 2011


Forgot to add llvm-commits.


----- Forwarded Message ----
> From: Jan Sjodin <jan_sjodin at yahoo.com>
> To: Devang Patel <dpatel at apple.com>; Renato Golin <Renato.Golin at arm.com>
> Cc: Anton Korobeynikov <anton at korobeynikov.info>
> Sent: Thu, March 31, 2011 3:06:55 PM
> Subject: Re: [llvm-commits] Change DwarfUsesAbsoluteLabelForStmtList to false 
>for X86ELFMCAsmInfo.
> 
> Here is the patch to rename the flag.
> 
> I will follow up with a few patches  to clean up the code. IMO 
> isBaseAddressKnownZero() method in MCSection  should be removed and the single 

> use in EmitSectionOffset should be replaced  with a check against 
> doesDwarfUsesAbsoluteLabelForSectionOffset().
> 
> -  Jan
> 
> 
> ----- Original Message ----
> > From: Devang Patel <dpatel at apple.com>
> > To: Renato Golin  <Renato.Golin at arm.com>
> > Cc: Jan  Sjodin <jan_sjodin at yahoo.com>; Anton  Korobeynikov 
> ><anton at korobeynikov.info>
> >  Sent: Mon, March 28, 2011 11:58:05 AM
> > Subject: Re: [llvm-commits] Change  DwarfUsesAbsoluteLabelForStmtList to 
>false 
>
> >for X86ELFMCAsmInfo.
> > 
> > 
> > On Mar 28, 2011, at 1:25 AM, Renato Golin wrote:
> > 
> > > 2. Set  DwarfUsesAbsoluteLabelForStmtList = true and do the  check here.
> > 
> > I'd use  this approach, Feel free to rename  the flag appropriately.
> > -
> > Devang
> > 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0049_absolutlabelrename.patch
Type: application/octet-stream
Size: 3036 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110331/5b385473/attachment.obj>


More information about the llvm-commits mailing list