[llvm] 65c63eb - [DWARFYAML] Remove 'default' tag. NFC.

Xing GUO via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 19 20:15:16 PDT 2020


Author: Xing GUO
Date: 2020-07-20T11:14:50+08:00
New Revision: 65c63eb69cc157b5bf257d6b91ecd758446ee5a1

URL: https://github.com/llvm/llvm-project/commit/65c63eb69cc157b5bf257d6b91ecd758446ee5a1
DIFF: https://github.com/llvm/llvm-project/commit/65c63eb69cc157b5bf257d6b91ecd758446ee5a1.diff

LOG: [DWARFYAML] Remove 'default' tag. NFC.

This patch is trying to make build bots happy.

Failed bots:
http://lab.llvm.org:8011/builders/ppc64le-lld-multistage-test/builds/10705
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-android/builds/33595

Added: 
    

Modified: 
    llvm/lib/ObjectYAML/DWARFEmitter.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/ObjectYAML/DWARFEmitter.cpp b/llvm/lib/ObjectYAML/DWARFEmitter.cpp
index 425c802ec93b..134fd7880550 100644
--- a/llvm/lib/ObjectYAML/DWARFEmitter.cpp
+++ b/llvm/lib/ObjectYAML/DWARFEmitter.cpp
@@ -510,8 +510,6 @@ writeRnglistEntry(raw_ostream &OS, const DWARFYAML::RnglistEntry &Entry,
       return std::move(Err);
     encodeULEB128(Entry.Values[1], OS);
     break;
-  default:
-    llvm_unreachable("unrecognized range list encoding");
   }
 
   return OS.tell() - BeginOffset;


        


More information about the llvm-commits mailing list