[PATCH] [PECOFF] Support COMDAT associative sections.
Rui Ueyama
ruiu at google.com
Wed Jun 11 16:11:42 PDT 2014
It turned out that dumping associate() contents to Native format
is too much, because it's not easy to dump variable length objects
to Native format. We would have had to define a new chunk for
associated atoms.
So I came back to the original design to use References to represent
"associate" relationships. I believe I found a way to implement it
in an efficient way. PTAL.
http://reviews.llvm.org/D4028
Files:
include/lld/Core/Reference.h
include/lld/Core/Resolver.h
lib/Core/Resolver.cpp
lib/ReaderWriter/PECOFF/Atoms.h
lib/ReaderWriter/PECOFF/ReaderCOFF.cpp
lib/ReaderWriter/Reader.cpp
test/core/associates.objtxt
test/pecoff/Inputs/associative1.obj.yaml
test/pecoff/Inputs/associative3.obj.yaml
test/pecoff/associative.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4028.10338.patch
Type: text/x-patch
Size: 11450 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140611/704e8f6a/attachment.bin>
More information about the llvm-commits
mailing list