aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces
diff options
context:
space:
mode:
authorJoseph Huber <huberjn@outlook.com>2024-07-24 21:06:19 -0500
committerGitHub <noreply@github.com>2024-07-24 21:06:19 -0500
commit8e43acbfedf53ded43ec693ddaaf518cb7416c1c (patch)
tree71fc24004e2670dcda71d8356fe8ef1a8fea2e1d /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces
parentac1a1e5797388598201511d17f05aa088ef4a2e2 (diff)
downloadllvm-8e43acbfedf53ded43ec693ddaaf518cb7416c1c.zip
llvm-8e43acbfedf53ded43ec693ddaaf518cb7416c1c.tar.gz
llvm-8e43acbfedf53ded43ec693ddaaf518cb7416c1c.tar.bz2
[libc] Only add '-fno-builtin-*' on the entrypoints that use them (#100481)
Summary: The GPU build needs to be able to inline stuff in LTO. Builtin transformations cause problems on the functions that the optimizer does heavy libcall recognition on. Previously we moved to using `-fno-builtin-*` to allow us to only disable the problematic ones. However, this still didn't allow inlining because each function had the attribute that told the inliner not to inlining a nobuiltin function into a non-nobuiltin function This patch fixes that by only applying these attributes to the entrypoints that define them. That is enough to prevent recursive calls within the definitoins themselves.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces')
0 files changed, 0 insertions, 0 deletions