[PATCH] D21552: [llvm-readobj] - Teach llvm-readobj to print dependencies of SHT_GNU_verdef and refactor dumping method.
Xing via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 30 06:17:12 PST 2018
Higuoxing added inline comments.
================
Comment at: llvm/trunk/tools/llvm-readobj/ELFDumper.cpp:569
+ report_fatal_error("at least one definition string must exist");
+ if (VD->vd_cnt > 2)
+ report_fatal_error("more than one predecessor is not expected");
----------------
Hi, I am curious about why the Parents/Predecessor more than one. According to https://akkadia.org/drepper/symbol-versioning
> `vda_next` byte offset to the next Elfxx_Verdaux entry. The first entry (pointed to by the Elfxx_Verdef entry, contains the actual defined name. The second and all later entries name predecessor versions.
Feel free to ignore me :) just out of curiosity
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D21552/new/
https://reviews.llvm.org/D21552
More information about the llvm-commits
mailing list