[llvm-commits] [PATCH] Delay handling symbol aliases when writing COFF (fixes PR14447)
Nico Rieck
nico.rieck at gmail.com
Thu Jan 24 13:46:12 PST 2013
This supports aliasing chains where the assignments are specified out of
order, e.g.
.globl _alias2
_alias2 = _alias1
.globl _alias1
_alias1 = _foo
Previously, this resulted in _alias2 being undefined.
Because the symbol data is identical save for the symbol name,
DefineSymbol() receives the symbol as additional parameter. This allows
passing in the aliased name with the original symbol data.
This fixes PR14447 (not using -cxx-abi microsoft, which seems to be
broken).
-Nico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Delay-handling-symbol-aliases-when-writing-COFF.patch
Type: text/x-patch
Size: 7567 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130124/5985b854/attachment.bin>
More information about the llvm-commits
mailing list