[PATCH] [ELF] Allow customization of OutputELFWriter class
Shankar Kalpathi Easwaran
shankarke at gmail.com
Tue Apr 7 18:49:52 PDT 2015
Prior to this change, the target executable writer's used to contain the TargetLinkingContexts and their TargetLayout's. The Target writers do a static cast and return their layout's which i feel is not a nice design, IMO. I think you could safely derive from OutputELFWriter and create MipsOutputELFWriter. This would save the same amount of duplicated code too. Thoughts ?
REPOSITORY
rL LLVM
http://reviews.llvm.org/D8882
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list