[MCAsmInfo] Delete unused doesSupportExceptionHandling
authorFangrui Song <i@maskray.me>
Fri, 11 Dec 2020 19:08:16 +0000 (11:08 -0800)
committerFangrui Song <i@maskray.me>
Fri, 11 Dec 2020 19:08:16 +0000 (11:08 -0800)
ExceptionHandling:: is a bit misleading - we actually use the term for both
exceptions and non-exception .eh_frame usage.

llvm/include/llvm/MC/MCAsmInfo.h

index c55dab4..98e9c2f 100644 (file)
@@ -636,10 +636,6 @@ public:
 
   bool doesSupportDebugInformation() const { return SupportsDebugInformation; }
 
-  bool doesSupportExceptionHandling() const {
-    return ExceptionsType != ExceptionHandling::None;
-  }
-
   ExceptionHandling getExceptionHandlingType() const { return ExceptionsType; }
   WinEH::EncodingType getWinEHEncodingType() const { return WinEHEncodingType; }