[PATCH] D12545: [elf2] Add basic archive file support.

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 2 08:20:26 PDT 2015


rafael added a subscriber: rafael.
rafael added a comment.

The patch is not git-clang-format clean

building I get these warnings:

/home/espindola/llvm/llvm/tools/lld/ELF/Driver.cpp:83:11: warning:
enumeration value 'ArchiveKind' not handled in switch [-Wswitch]

  switch (FirstObj.kind()) {
          ^

1 warning generated.
[6/8] Building CXX object tools/lld/ELF/CMakeFiles/lldELF2.dir/SymbolTable.cpp.o
/home/espindola/llvm/llvm/tools/lld/ELF/SymbolTable.cpp:46:13:
warning: enumeration value 'ArchiveKind' not handled in switch
[-Wswitch]

  switch (File->kind()) {
          ^

/home/espindola/llvm/llvm/tools/lld/ELF/SymbolTable.cpp:64:13:
warning: enumeration value 'ArchiveKind' not handled in switch
[-Wswitch]

  switch (File->kind()) {
          ^

2 warnings generated.
[6/8] Building CXX object tools/lld/ELF/CMakeFiles/lldELF2.dir/Writer.cpp.o
/home/espindola/llvm/llvm/tools/lld/ELF/Writer.cpp:317:13: warning:
enumeration value 'LazyKind' not handled in switch [-Wswitch]

  switch (Body->kind()) {
          ^

/home/espindola/llvm/llvm/tools/lld/ELF/Writer.cpp:317:13: warning:
enumeration value 'LazyKind' not handled in switch [-Wswitch]
/home/espindola/llvm/llvm/tools/lld/ELF/Writer.cpp:317:13: warning:
enumeration value 'LazyKind' not handled in switch [-Wswitch]
/home/espindola/llvm/llvm/tools/lld/ELF/Writer.cpp:317:13: warning:
enumeration value 'LazyKind' not handled in switch [-Wswitch]
/home/espindola/llvm/llvm/tools/lld/ELF/Writer.cpp:317:13: warning:
enumeration value 'LazyKind' not handled in switch [-Wswitch]


http://reviews.llvm.org/D12545





More information about the llvm-commits mailing list