[PATCH] D47414: [llvm-objcopy] Fix null symbol handling
Paul Semel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 29 07:37:46 PDT 2018
paulsemel added a comment.
Hi @jhenderson,
I'm really sorry, but still don't really get your point. I think that the goal is to make llvm-objcopy as close as possible as what GNU objcopy is doing in terms of functionality right ? My point was more that, in the future, we might want to implement other options that deals with symbols. And maybe it could be nice that, at this time, we don't have to deal with the null symbol anymore. My point was more : "There won't be any case (or options) where we will need to do smth with the null symbol, so we are better not exposing it".
I mean, it totally makes sense to make that, when the symbol vector is empty, that means that there is no symbol in the SymbolTable anymore, as no one needs to know whether the null symbol is present, as it always is. I don't know if you get my point, maybe I am going completely wrong, I would just need some explanations on this one :)
Btw, thanks for reviewing !
Repository:
rL LLVM
https://reviews.llvm.org/D47414
More information about the llvm-commits
mailing list