From 4a04450a126ad9001553b0cc5351725d7c82d158 Mon Sep 17 00:00:00 2001 From: occheung Date: Mon, 22 Nov 2021 10:26:09 +0800 Subject: [PATCH] doc: include abiname option --- docs/source/user-guide/binding/target-information.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/source/user-guide/binding/target-information.rst b/docs/source/user-guide/binding/target-information.rst index 2448e8acd..96376a072 100644 --- a/docs/source/user-guide/binding/target-information.rst +++ b/docs/source/user-guide/binding/target-information.rst @@ -135,7 +135,8 @@ Classes EXAMPLE: ``"x86_64-pc-linux-gnu"`` * .. method:: create_target_machine(cpu='', features='', \ - opt=2, reloc='default', codemodel='jitdefault') + opt=2, reloc='default', codemodel='jitdefault', \ + abiname='') Create a new :class:`TargetMachine` instance for this target and with the given options: @@ -146,6 +147,7 @@ Classes * *opt* is the optimization level, from 0 to 3. * *reloc* is the relocation model. * *codemodel* is the code model. + * *abiname* is the name of the ABI. The defaults for reloc and codemodel are appropriate for JIT compilation.