[PATCH] [ELF] Create reference to symbol map.
Shankar Kalpathi Easwaran
shankarke at gmail.com
Mon Feb 23 14:25:15 PST 2015
Hi ruiu, atanasyan,
In LLD's model, symbol is a property of the node (atom) and not a property of edge (reference). Prior to this patch, we stored the symbol in the reference. From post-commit comments, it seemed better to create a map from the reference to the symbol instead and use this mapping wherever desired.
This patch does that.
http://reviews.llvm.org/D7840
Files:
lib/ReaderWriter/ELF/Atoms.h
lib/ReaderWriter/ELF/ELFFile.h
lib/ReaderWriter/ELF/Mips/MipsELFFile.h
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7840.20547.patch
Type: text/x-patch
Size: 6198 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150223/78a1d05c/attachment.bin>
More information about the llvm-commits
mailing list