[PATCH] [lld] Remove duplicate class definitions of ELF LinkingContexts
Shankar Easwaran
shankar.kalpathi.easwaran at gmail.com
Sat Feb 21 09:55:11 PST 2015
filcab,
We need lld to be tightly integrated with LLVM targets, these are the reasons I have in mind :
- targets need to get instruction eencoding recorded in the Td file. If you see the Hexagon target in lld we have one huge file that contains all the encodings which is just duplicating informattoo in the Td files. I believe MIPS also needs this encoding information.
- enable better diagnostics with encoding information.
It's also needed in the future for LTO purposes to invoke the code generator from lld after reading bit code files.
I would like to propose LLD_TARGET_<flavor> as we have multiple flavors that may support the same target in future. Other proposals are welcome too.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D7807
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list