Index: llvm/trunk/lib/TextAPI/ELF/TBEHandler.cpp =================================================================== --- llvm/trunk/lib/TextAPI/ELF/TBEHandler.cpp +++ llvm/trunk/lib/TextAPI/ELF/TBEHandler.cpp @@ -126,23 +126,6 @@ } }; -/// YAML traits for generic string vectors (i.e. list of needed libraries). -template <> struct SequenceTraits> { - static size_t size(IO &IO, std::vector &List) { - return List.size(); - } - - static std::string &element(IO &IO, std::vector &List, - size_t Index) { - if (Index >= List.size()) - List.resize(Index + 1); - return List[Index]; - } - - // Compacts list of needed libraries into a single line. - static const bool flow = true; -}; - /// YAML traits for ELFStub objects. template <> struct MappingTraits { static void mapping(IO &IO, ELFStub &Stub) { Index: llvm/trunk/unittests/TextAPI/ELFYAMLTest.cpp =================================================================== --- llvm/trunk/unittests/TextAPI/ELFYAMLTest.cpp +++ llvm/trunk/unittests/TextAPI/ELFYAMLTest.cpp @@ -196,7 +196,10 @@ "TbeVersion: 1.0\n" "SoName: nosyms.so\n" "Arch: x86_64\n" - "NeededLibs: [ libc.so, libfoo.so, libbar.so ]\n" + "NeededLibs: \n" + " - libc.so\n" + " - libfoo.so\n" + " - libbar.so\n" "Symbols: {}\n" "...\n"; ELFStub Stub;