Closed kc611 closed 5 months ago
Following the addition of the above change, I wonder if it's worth also adding tests that check with the XCOFF, Wasm, MachO, and GOFF cases too (there seem to be no tests in the LLVM test suite that result in an unknown object format).
Source for the above object format enum is: https://github.com/llvm/llvm-project/blob/f28c006a5895fc0e329fe15fead81e37457cb1d1/llvm/include/llvm/ADT/Triple.h#L237-L246
As titiled,
This PR aims to add a
llvm
based binding that uses the internalTriple
object to partition the process triple string into it's respective parts.Example: