[PATCH] D47414: [llvm-objcopy] Fix null symbol handling

Paul Semel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 29 08:09:03 PDT 2018


paulsemel added a comment.

Well, the fact is that , in my opinion, the goal of `llvm-objcopy` or `objcopy` is not to print anything. Their only goal is to modify/alter the given binary. And the fact is that, as you can see with `objcopy`, for every options that plays with symbols, the null symbol is obviously omitted (I think that's also why you only search for symbol names, as you shouldn't need to do anything with null symbol).
But anyway, I can keep this symbol if you want, and modify the helper functions so that we omit the null symbol everywhere else !


Repository:
  rL LLVM

https://reviews.llvm.org/D47414





More information about the llvm-commits mailing list