[LLVMdev] Why doesn't GlobalVariable::copyAttributesFrom copy the thread local mode?
Rafael EspĂndola
rafael.espindola at gmail.com
Mon Feb 10 08:17:11 PST 2014
On 8 February 2014 00:40, Keno Fischer <kfischer at college.harvard.edu> wrote:
> GlobalVariable::copyAttributesFrom sets the target thread local mode to
> either general dynamic or not thread local rather than copying the thread
> local mode from the source. Is that intentional or an oversight?
I think it is just not implemented yet. We added support for having
explicit thread mode in r159077 and I think we just forgot to update
this code.
Do you want to write a patch for it? :-)
Cheers,
Rafael
More information about the llvm-dev
mailing list