[PATCH] [lld] Remove duplicate class definitions of ELF LinkingContexts

Shankar Kalpathi Easwaran shankarke at gmail.com
Sat Feb 21 23:45:27 PST 2015


Filcab, you got the wrong file, please look at this file https://github.com/llvm-mirror/lld/blob/master/lib/ReaderWriter/ELF/Hexagon/HexagonEncodings.h (this is pretty common with scatter architectures, where all the information is present in the td file and you are trying to duplicate this information in target specific code in other tools, this is not clean).

In terms of diagnostics, I would like to atleast figure out the instruction after being relocated, so possibly get a way to figure out how instructions are changing with respect to relocations.

You are right, generally you dont need LTO to know about the LLVM target, it just needs the right target riple to be set and used.


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