Displaying 1 result from an estimated 1 matches for "c3rb_str_struct".
2014 May 26
3
[LLVMdev] GHC, aliases, and LLVM HEAD
...@SWn_srt to i8*)
The second is rejected as aliasees must[2] be global objects, which
bitcasts are not,
/home/ben/trees/root-llvm-head/bin/opt: utils/hpc/dist-install/build/HpcParser.ll:44714:37: error: Alias must point to function or variable
@c3rB_str$alias = alias private i8* bitcast (%c3rB_str_struct* @c3rB_str to i8*)
^
Is our (ab)use of aliases reasonable? If so, what options do we have to
fix this before LLVM 3.5? If not, what other mechanisms are there for
addressing the use-cases above in GHC?
Thanks,
- Ben
[1] https://github.com/llvm-mirror/llv...