[llvm] 065a931 - [MC] Add getLSDASection interface

Alexander Shaposhnikov via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 5 00:36:33 PDT 2021


Author: Amir Ayupov
Date: 2021-06-05T00:28:20-07:00
New Revision: 065a9316aa6089b851cffd214d2cf723d8940164

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

LOG: [MC] Add getLSDASection interface

This diff adds getLSDASection method to MCObjectFileInfo.

Test plan: make check-all

Differential revision: https://reviews.llvm.org/D102298

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/MC/MCObjectFileInfo.h b/llvm/include/llvm/MC/MCObjectFileInfo.h
index 8ddfb9316764..a97cdc397000 100644
--- a/llvm/include/llvm/MC/MCObjectFileInfo.h
+++ b/llvm/include/llvm/MC/MCObjectFileInfo.h
@@ -255,6 +255,7 @@ class MCObjectFileInfo {
   MCSection *getDataSection() const { return DataSection; }
   MCSection *getBSSSection() const { return BSSSection; }
   MCSection *getReadOnlySection() const { return ReadOnlySection; }
+  MCSection *getLSDASection() const { return LSDASection; }
   MCSection *getCompactUnwindSection() const { return CompactUnwindSection; }
   MCSection *getDwarfAbbrevSection() const { return DwarfAbbrevSection; }
   MCSection *getDwarfInfoSection() const { return DwarfInfoSection; }


        


More information about the llvm-commits mailing list