[PATCH] D26795: [ELF] Better error reporting for linker scripts

Eugene Leviant via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 21 05:04:08 PST 2016


evgeny777 added a comment.

> ScriptParser class then store the vectors to Tokens and LineNo.

You also have to store file name for each token and I think this is too much. How about storing a vector of MemoryBufferRef instead of 'Input' in ScriptParserBase? Please take a look at the updated diff.


https://reviews.llvm.org/D26795





More information about the llvm-commits mailing list