[llvm-branch-commits] [llvm] a593d22 - [MCAsmInfo] Delete unused doesSupportExceptionHandling

Fangrui Song via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Dec 11 11:13:15 PST 2020


Author: Fangrui Song
Date: 2020-12-11T11:08:16-08:00
New Revision: a593d223c50f45a25316f948ea4ed222fb244daa

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

LOG: [MCAsmInfo] Delete unused doesSupportExceptionHandling

ExceptionHandling:: is a bit misleading - we actually use the term for both
exceptions and non-exception .eh_frame usage.

Added: 
    

Modified: 
    llvm/include/llvm/MC/MCAsmInfo.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/MC/MCAsmInfo.h b/llvm/include/llvm/MC/MCAsmInfo.h
index c55dab4e7973..98e9c2fd3607 100644
--- a/llvm/include/llvm/MC/MCAsmInfo.h
+++ b/llvm/include/llvm/MC/MCAsmInfo.h
@@ -636,10 +636,6 @@ class MCAsmInfo {
 
   bool doesSupportDebugInformation() const { return SupportsDebugInformation; }
 
-  bool doesSupportExceptionHandling() const {
-    return ExceptionsType != ExceptionHandling::None;
-  }
-
   ExceptionHandling getExceptionHandlingType() const { return ExceptionsType; }
   WinEH::EncodingType getWinEHEncodingType() const { return WinEHEncodingType; }
 


        


More information about the llvm-branch-commits mailing list