search for: easwaran

Displaying 20 results from an estimated 394 matches for "easwaran".

2013 Oct 07
2
[LLVMdev] [lld][failing test] the reason of ifunc.test failing
Ping ? Do you think that we need to have an API in LinkingContext to return the next ordinal available, so that files created by passes can be assigned ordinals ? Thanks Shankar Easwaran On 10/6/2013 11:07 PM, Shankar Easwaran wrote: > In addition I think the LayoutPass std::stable_sort be replaced with > std::sort as total ordering is guaranteed as each File would get an > ordinal and each atom would get an ordinal too, after the below > problem is fixed. > >...
2015 Jun 24
6
[LLVMdev] Inline hint for methods defined in-class
On Wed, Jun 24, 2015 at 2:10 PM, Robinson, Paul <Paul_Robinson at playstation.sony.com> wrote: >> -----Original Message----- >> From: Easwaran Raman [mailto:eraman at google.com] >> Sent: Wednesday, June 24, 2015 1:27 PM >> To: Xinliang David Li >> Cc: Robinson, Paul; Xinliang David Li; <llvmdev at cs.uiuc.edu> List >> Subject: Re: [LLVMdev] Inline hint for methods defined in-class >> >> The metho...
2013 Sep 21
2
[LLVMdev] LLD input graph handling proposal
Hi, Attached is the pdf of the operation to make things easier to read. Thanks Shankar Easwaran On 9/20/2013 7:04 PM, Shankar Easwaran wrote: > My email client spoilt the whole email, will create a pdf and send it. > > On 9/20/2013 7:00 PM, Shankar Easwaran wrote: >> Hi Nick, >> >> On 9/20/2013 5:59 PM, Nick Kledzik wrote: >>> On Sep 20, 2013, at 3:42 PM,...
2013 Oct 07
2
[LLVMdev] [lld][failing test] the reason of ifunc.test failing
...like the the ELFPassFile doesnot get an ordinal value assigned, as its added in a pass. Is there a way to assign a file ordinal for the files added by Passes ? Till that time, I am going to XFAIL the ifunc test. More tests should fail, and am not sure why they are not failing. Thanks Shankar Easwaran -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation
2013 Sep 21
0
[LLVMdev] LLD input graph handling proposal
...--------------------------- printf(defined) libc.a(exit.o) has atoms ---------------------------------- exit(defined) libpthread.a has atoms --------------------------------- pthread_create(defined) exit(undefined) function.o has atoms ------------------------------- fn(defined) Thanks Shankar Easwaran On 9/20/2013 7:42 PM, Shankar Easwaran wrote: > Hi, > > Attached is the pdf of the operation to make things easier to read. > > Thanks > > Shankar Easwaran > > On 9/20/2013 7:04 PM, Shankar Easwaran wrote: >> My email client spoilt the whole email, will create a pd...
2015 Jun 24
3
[LLVMdev] Inline hint for methods defined in-class
On Wed, Jun 24, 2015 at 2:35 PM, David Blaikie <dblaikie at gmail.com> wrote: > > > On Wed, Jun 24, 2015 at 2:20 PM, Easwaran Raman <eraman at google.com> wrote: >> >> On Wed, Jun 24, 2015 at 2:10 PM, Robinson, Paul >> <Paul_Robinson at playstation.sony.com> wrote: >> >> -----Original Message----- >> >> From: Easwaran Raman [mailto:eraman at google.com] >> >&g...
2015 Jun 24
4
[LLVMdev] Inline hint for methods defined in-class
The method to identify functions with in-class definitions is one part of my question. Even if there is a way to do that without passing the hint, I'm interested in getting feedback on treating it at-par with functions having the inline hint in inline cost analysis. Thanks, Easwaran On Wed, Jun 24, 2015 at 12:56 PM, Xinliang David Li <xinliangli at gmail.com> wrote: > The problem is that the other way around is not true: a function > linkonce_odr linkage may be neither inline declared nor have in-class > definition. > > David > > > On Wed, Jun 2...
2014 Dec 01
2
[LLVMdev] [lld] filename in the atom model.
...the filename in the Atom as the native format needs to store that information. The only option for the ELF writer to know this information is to use References if other flavors dont need the filename (only in DEBUG mode, clumsy but would work). PS : Moving this discussion to llvmdev. Shankar Easwaran On 12/1/2014 2:34 PM, Rui Ueyama wrote: > That sounds like we really need a new property of Atom. > > 1. If we run LLD in Release build, the roundtrip passes don't run, so > everything works fine. > 2. If we run LLD in Debug build (and from the unit tests), the information >...
2013 Oct 07
2
[LLVMdev] [lld] Verifying the Architecture of files read
On 10/4/2013 11:16 PM, Michael Spencer wrote: > On Fri, Oct 4, 2013 at 8:50 PM, Shankar Easwaran <shankare at codeaurora.org>wrote: > >> Hi, >> >> It is needed that lld verifies the input to the linker. >> >> For example : a x86 ELF file can be given to lld when the target is >> x86_64. Similiarly with other flavors. >> >> I was thinking...
2013 Oct 07
0
[LLVMdev] [lld][failing test] the reason of ifunc.test failing
In addition I think the LayoutPass std::stable_sort be replaced with std::sort as total ordering is guaranteed as each File would get an ordinal and each atom would get an ordinal too, after the below problem is fixed. Thanks Shankar Easwaran On 10/6/2013 10:54 PM, Shankar Easwaran wrote: > Hi, > > It looks like the the ELFPassFile doesnot get an ordinal value > assigned, as its added in a pass. > > Is there a way to assign a file ordinal for the files added by Passes ? > > Till that time, I am going to XFAIL t...
2015 Jun 24
3
[LLVMdev] Inline hint for methods defined in-class
...? David On Wed, Jun 24, 2015 at 2:43 PM, Robinson, Paul <Paul_Robinson at playstation.sony.com> wrote: >> -----Original Message----- >> From: Xinliang David Li [mailto:davidxl at google.com] >> Sent: Wednesday, June 24, 2015 2:17 PM >> To: Robinson, Paul >> Cc: Easwaran Raman; Xinliang David Li; <llvmdev at cs.uiuc.edu> List >> Subject: Re: [LLVMdev] Inline hint for methods defined in-class >> >> On Wed, Jun 24, 2015 at 2:10 PM, Robinson, Paul >> <Paul_Robinson at playstation.sony.com> wrote: >> >> -----Original Mess...
2015 Jun 24
2
[LLVMdev] Inline hint for methods defined in-class
On Wed, Jun 24, 2015 at 2:10 PM, Robinson, Paul <Paul_Robinson at playstation.sony.com> wrote: >> -----Original Message----- >> From: Easwaran Raman [mailto:eraman at google.com] >> Sent: Wednesday, June 24, 2015 1:27 PM >> To: Xinliang David Li >> Cc: Robinson, Paul; Xinliang David Li; <llvmdev at cs.uiuc.edu> List >> Subject: Re: [LLVMdev] Inline hint for methods defined in-class >> >> The metho...
2013 Oct 07
0
[LLVMdev] [lld][failing test] the reason of ifunc.test failing
On Mon, Oct 7, 2013 at 11:51 AM, Shankar Easwaran <shankare at codeaurora.org>wrote: > Ping ? > > Do you think that we need to have an API in LinkingContext to return the > next ordinal available, so that files created by passes can be assigned > ordinals ? > That API may work, but I don't think you always want to ass...
2013 Sep 04
1
[LLVMdev] [lld] Modeling ELF FileNodes/ControlNodes (Group's) in lld
The --as-needed attribute is preserved and is contained within the ELF FileNode. By lld::files, I am referring to lld::File. Thanks Shankar Easwaran On 9/4/2013 4:10 PM, Rui Ueyama wrote: > On Wed, Sep 4, 2013 at 2:03 PM, Shankar Easwaran <shankare at codeaurora.org>wrote: > >> Yes, the Group is to represent --start-group,--end-group. >> >> So the group here will be contained in the linker Input as a vector of &gt...
2013 Aug 14
5
[LLVMdev] raw_ostream behavior
...is wrong in my opinion. On 8/14/2013 4:44 PM, Dan Gohman wrote: > Would it be appropriate for lld's other output to go to standard error > instead of standard output, since standard output may be used for YAML > output? > > Dan > > On Wed, Aug 14, 2013 at 12:53 PM, Shankar Easwaran > <shankare at codeaurora.org>wrote: > >> Hi Dan, >> >> lld takes a -emit-yaml option, which emits the intermediate >> representation(atoms) in YAML form. >> >> By default output goes to stdout, the user can control it by using the -o >> option...
2015 Jun 24
2
[LLVMdev] Inline hint for methods defined in-class
On Wed, Jun 24, 2015 at 2:35 PM, David Blaikie <dblaikie at gmail.com> wrote: > > > On Wed, Jun 24, 2015 at 2:20 PM, Easwaran Raman <eraman at google.com> wrote: >> >> On Wed, Jun 24, 2015 at 2:10 PM, Robinson, Paul >> <Paul_Robinson at playstation.sony.com> wrote: >> >> -----Original Message----- >> >> From: Easwaran Raman [mailto:eraman at google.com] >> >&g...
2013 Oct 15
3
[LLVMdev] [lld] Handling a whole bunch of readers
On Mon, Oct 14, 2013 at 8:41 PM, Michael Spencer <bigcheesegs at gmail.com>wrote: > On Wed, Oct 9, 2013 at 11:23 AM, Shankar Easwaran <shankare at codeaurora.org > > wrote: > >> Hi, >> >> We have a whole bunch of readers(we would have some more too), and was >> thinking if we should have a vector of Readers, and have a function >> isMyFormat in each of them. >> >> Any reader t...
2013 Sep 04
2
[LLVMdev] [lld] Modeling ELF FileNodes/ControlNodes (Group's) in lld
Yes, the Group is to represent --start-group,--end-group. So the group here will be contained in the linker Input as a vector of lld::files (foo.a, bar.a). thanks Shankar Easwaran On 9/4/2013 3:59 PM, Rui Ueyama wrote: > The first question is that Group is to represent --start-group/--end-group? > > If I understand your proposal correctly, here's the thing: if file is not > in group, each individual file is wrapped with LinkerInput, but if it's in > a...
2012 Nov 19
0
[LLVMdev] Chaining Atoms together
Hi Nick, Waiting for your feedback on this. Thanks Shankar Easwaran On 11/16/2012 10:03 AM, Shankar Easwaran wrote: > Hi Nick, > > Thanks for your reply. > > The usecase here is just trying to construct a valid ELF. The lld > linker needs to handle all sorts of code written in assembly as well > as 'C'. The usecase is just one exampl...
2012 Nov 16
3
[LLVMdev] Chaining Atoms together
...ase is just one example of it. I have also seen similiar code in http://lxr.free-electrons.com/source/arch/powerpc/kernel/head_32.S?a=powerpc which has global and local labels. You are right, that the function has multiple entry points. You can remove the .local directive too. Thanks Shankar Easwaran On 11/15/2012 9:47 PM, Nick Kledzik wrote: > Shankar, > > Let's step back. What is this use case trying to do? > > What is: > .local bar > bar: > > I have not seen the .local directive. Symbols are local to the assembler by default and need a .global directive to...