Displaying 4 results from an estimated 4 matches for "expressionfunction".
2013 Aug 23
0
[LLVMdev] defining symbols with lld
...pression, that can be used to emit YAML information
e)The expression tree needs to be stored into the Native intermediate
representation too right ? Store them as atoms ? How to represent
constants and functions ?
f) What about lld core ?
g) Create a new reference type, How does (ExpressionAtom,
ExpressionFunction, ExpressionConstant) this sound ?
h) I still need to figure out, what are the ways this symbol can be
overridden, if the same symbol is defined in a file, does it override,
(Resolver may need to handle it).
Thanks
Shankar Easwaran
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora...
2013 Aug 22
3
[LLVMdev] defining symbols with lld
On Aug 22, 2013, at 1:32 PM, Michael Spencer <bigcheesegs at gmail.com> wrote:
> On Thu, Aug 22, 2013 at 12:54 PM, Shankar Easwaran <shankare at codeaurora.org> wrote:
> Hi Nick,
>
> I am planning to work on adding support for definining expressions for the Gnu flavor.
>
> Currently Gnu ld supports an option --defsym symbol=expression. The expression may be
2013 Aug 23
1
[LLVMdev] defining symbols with lld
...to emit YAML information
> e)The expression tree needs to be stored into the Native intermediate
> representation too right ? Store them as atoms ? How to represent constants
> and functions ?
> f) What about lld core ?
> g) Create a new reference type, How does (ExpressionAtom,
> ExpressionFunction, ExpressionConstant) this sound ?
>
We only need one reference type, as the resolver only cares that it is
referenced.
> h) I still need to figure out, what are the ways this symbol can be
> overridden, if the same symbol is defined in a file, does it override,
> (Resolver may need t...
2013 Aug 23
3
[LLVMdev] defining symbols with lld
...linker scripts, so we don’t *have* to have a way to externalize the atoms in yaml or native format. But, it would be nice to allow that, so that some future C or asm extension would let you create these.
> f) What about lld core ?
> g) Create a new reference type, How does (ExpressionAtom, ExpressionFunction, ExpressionConstant) this sound ?
The expression could be an opaque string except that we need to validate it and we need the resolver to find the symbol names referenced in the expression. The data structure lld provides is a sequence of References. The normal data structure for an expression is...