Displaying 2 results from an estimated 2 matches for "getaliasedsymbol".
2014 May 23
3
[LLVMdev] Changing the design of GlobalAliases to represent what is actually possible in object files.
...ConstantExprs.
In other words, another possible representation would be
* GlobalsAlias point to ConstantExpr
* The expression is completely unconstrained in the current
implementation of ConstantExpr.
* There is no notion of an aliased symbol. Things like detecting
cycles go from "A == A->getAliasedSymbol()" to
"A->getAliasee().uses(A)", but even that seems questionable outside of
special case like clang that knows the types of alias it creates.
This would greatly diminish our ability to report invalid uses, since
the first thing to noticed they are invalid is MC. It would also
re...
2014 May 23
2
[LLVMdev] Changing the design of GlobalAliases to represent what is actually possible in object files.
Bringing the discussion to llvmdev.
For the purposed of this discussion, object files can be thought as
having just a few thing we care about: data, labels and relocations.
Data is what at llvm ir would be just the contents of variables or functions.
Relocations are utilities to compute the data at link time when it is
not possible to do so earlier. For example, to compute a pcrel
relocation we