[llvm-commits] [patch] Remember the VariantKind when recursively evaluating a variable

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Oct 20 15:44:57 PDT 2010


This is an update to a patch I posted some time ago. It fixes relocations
against aliases. Without this patch we would just forget the VariantKind.

Another option is to just not recurse if the variant kind is not
VK_None. This would match gnu as a bit better, but also requires a
change to  MCAssembler::EvaluateFixup so that it can handle aliases
correctly.

Is the patch OK?

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alias-reloc.patch
Type: text/x-patch
Size: 9116 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101020/72605ba5/attachment.bin>


More information about the llvm-commits mailing list