Details
Details
- Reviewers
ruiu
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I'm not in favor of the optimization you made by merging two hash tables, one for group merging and the other for regular symbols, into one hash table using tagged pointer. I'd really want to simply use StringSet for group dedup'ing and keep the symbol table as is.
Except that the patch looks good overall.
Comment Actions
This looks much better! A few minor comments.
ELF/OutputSections.cpp | ||
---|---|---|
551 | Add a comment saying that returning false if Sym is pointing to a discarded section group member. | |
ELF/SymbolTable.h | ||
98 | You are not using ComdatSet type here. Maybe we should just remove ComdatSet typedef and always write as DenseSet<StringRef>? |
Add a comment saying that returning false if Sym is pointing to a discarded section group member.