[llvm] [XCOFF][obj2yaml] Support SymbolAlignmentAndType as 2 separate fields in YAML. (PR #76828)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 8 00:53:56 PST 2024


================
@@ -127,6 +127,16 @@ void ScalarEnumerationTraits<XCOFF::StorageMappingClass>::enumeration(
 #undef ECase
 }
 
+void ScalarEnumerationTraits<XCOFF::SymbolType>::enumeration(
----------------
jh7370 wrote:

I forget how this enum stuff works exactly. Does it allow specification as a number directly too? For testing certain edge case behaviour in ELF code, it is often useful to be able to specify a value outside the range possible with the known enum values.

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


More information about the llvm-commits mailing list