search for: globalsalias

Displaying 2 results from an estimated 2 matches for "globalsalias".

Did you mean: globalalias
2014 May 23
3
[LLVMdev] Changing the design of GlobalAliases to represent what is actually possible in object files.
...elf: We can have an arbitrarily nested expression that goes from evaluatable to requiring a relocation when the section of a global object is changed. That in turn puts the validity check in the verifier, even we constraint 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...
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