diff options
Diffstat (limited to 'tools/yaml2obj')
-rw-r--r-- | tools/yaml2obj/yaml2elf.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/yaml2obj/yaml2elf.cpp b/tools/yaml2obj/yaml2elf.cpp index acbac9c605..c78e1dbe77 100644 --- a/tools/yaml2obj/yaml2elf.cpp +++ b/tools/yaml2obj/yaml2elf.cpp @@ -30,10 +30,8 @@ using namespace llvm; // This class has a deliberately small interface, since a lot of // implementation variation is possible. // -// TODO: Use an ordered container with a suffix-based comparison in order -// to deduplicate suffixes. std::map<> with a custom comparator is likely -// to be the simplest implementation, but a suffix trie could be more -// suitable for the job. +// TODO: Use the StringTable builder from lib/Object instead, since it +// will deduplicate suffixes. namespace { class StringTableBuilder { /// \brief Indices of strings currently present in `Buf`. |