[llvm] [AIX]export function descriptor symbols related to template functions. (PR #101920)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 5 19:06:48 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r 455990d18fe488ff6c8e3b161434e35d412b43a2...cfc464425015fa62d5b983ebf9571c282fdbc9c7 llvm/utils/extract_symbols.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- extract_symbols.py 2024-08-06 01:57:53.000000 +0000
+++ extract_symbols.py 2024-08-06 02:06:13.022186 +0000
@@ -483,9 +483,9 @@
else:
outfile = sys.stdout
for k, v in list(symbol_defs.items()):
# On AIX, export function descriptors instead of function entries.
if platform.system() == "AIX" and k.startswith("."):
- continue
+ continue
template = get_template_name(k, args.mangling)
if v == 1 and (not template or template in template_instantiation_refs):
print(k, file=outfile)
``````````
</details>
https://github.com/llvm/llvm-project/pull/101920
More information about the llvm-commits
mailing list