[PATCH] D102298: [MC] Add getLSDASection interface

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 12 14:57:59 PDT 2021


Amir created this revision.
Amir added reviewers: dblaikie, ikudrin, aprantl.
Amir published this revision for review.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Expose LSDASection to MC users.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D102298

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


Index: llvm/include/llvm/MC/MCObjectFileInfo.h
===================================================================
--- llvm/include/llvm/MC/MCObjectFileInfo.h
+++ llvm/include/llvm/MC/MCObjectFileInfo.h
@@ -255,6 +255,7 @@
   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; }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102298.344630.patch
Type: text/x-patch
Size: 698 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210512/84190438/attachment.bin>


More information about the llvm-commits mailing list