[llvm] [XCOFF] Support the subtype in Dwarf section headers (PR #81667)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 15 02:18:16 PST 2024


================
@@ -64,6 +64,11 @@ template <typename T> uint16_t XCOFFSectionHeader<T>::getSectionType() const {
   return DerivedXCOFFSectionHeader.Flags & SectionFlagsTypeMask;
 }
 
+template <typename T> int32_t XCOFFSectionHeader<T>::getSectionSubtype() const {
----------------
jh7370 wrote:

Why is this returning a signed value, especially given that the section type is an unsigned return?

https://github.com/llvm/llvm-project/pull/81667


More information about the llvm-commits mailing list