search for: resolver_alias_name

Displaying 4 results from an estimated 4 matches for "resolver_alias_name".

2015 Dec 18
2
RFC: __attribute__((ifunc("resolver")) representation in LLVM IR
...unc` Pros: - no confusion for existing code - cleaner from design perspective Cons: - Add new type of Global i.e. more textual changes - Some potential code duplication (need prototyping to estimate) 3. Emit global asm statement from Clang Generate global asm statement like `__asm__ (".type resolver_alias_name, @gnu_indirect_function")` in Clang for alias generated for resolver function. Pros: - (almost?) no changes in LLVM Cons: - ifunc is not marked in LLVM IR at all so some hacks are required to detect and inhibit optimizations in LLVM for such alias (it is always wrong to use resolver instead...
2015 Dec 19
2
RFC: __attribute__((ifunc("resolver")) representation in LLVM IR
...erspective > > > > Cons: > > - Add new type of Global i.e. more textual changes > > - Some potential code duplication (need prototyping to estimate) > > > > 3. Emit global asm statement from Clang > > Generate global asm statement like `__asm__ (".type resolver_alias_name, > > @gnu_indirect_function")` in Clang for alias generated for resolver > > function. > > > > Pros: > > - (almost?) no changes in LLVM > > > > Cons: > > - ifunc is not marked in LLVM IR at all so some hacks are required to > detect > >...
2015 Dec 21
2
RFC: __attribute__((ifunc("resolver")) representation in LLVM IR
...; - Add new type of Global i.e. more textual changes >>> > - Some potential code duplication (need prototyping to estimate) >>> > >>> > 3. Emit global asm statement from Clang >>> > Generate global asm statement like `__asm__ (".type >>> resolver_alias_name, >>> > @gnu_indirect_function")` in Clang for alias generated for resolver >>> > function. >>> > >>> > Pros: >>> > - (almost?) no changes in LLVM >>> > >>> > Cons: >>> > - ifunc is not marked in LLV...
2015 Dec 23
2
RFC: __attribute__((ifunc("resolver")) representation in LLVM IR
...changes >>>>> > - Some potential code duplication (need prototyping to estimate) >>>>> > >>>>> > 3. Emit global asm statement from Clang >>>>> > Generate global asm statement like `__asm__ (".type >>>>> > resolver_alias_name, >>>>> > @gnu_indirect_function")` in Clang for alias generated for resolver >>>>> > function. >>>>> > >>>>> > Pros: >>>>> > - (almost?) no changes in LLVM >>>>> > >>>>> &...