[llvm] [LLVM-C] Add LLVMCreateTargetMachineWithABI (PR #68406)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 13 12:51:19 PDT 2023


aeubanks wrote:

with so many params, I think for future-proofing the API we should go the route of having an `Options` opaque struct where callers can fill in whatever params they'd like and a `create*` function that takes the `Options`. and have the old API forward to the new one. see https://github.com/llvm/llvm-project/blob/main/llvm/include/llvm-c/Transforms/PassBuilder.h for an example

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


More information about the llvm-commits mailing list