summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
diff options
context:
space:
mode:
authorAndrzej Warzynski <andrzej.warzynski@arm.com>2022-06-17 13:08:42 +0000
committerAndrzej Warzynski <andrzej.warzynski@arm.com>2022-06-27 15:08:54 +0000
commit48eb2bc608e2db4258f9a5432be6458b33e8f551 (patch)
treec043758b4e87f9f7f91323bf44f46b931c083af5 /lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
parentf164814f2f18f8f1f4215ba237270f0d411de5f4 (diff)
[flang][driver] Use `-O{0|1|2|3}` to define LLVM backend pass pipeline
Support for optimisation flags in LLVM Flang was originally added in https://reviews.llvm.org/D128043. That patch focused on LLVM middle-end/optimisation pipelines. With this patch, Flang will additionally configure LLVM backend pass pipelines accordingly. This behavior is consistent with Clang. New hook is added to translate compiler optimisation flags (e.g. `-O3`) into backend optimisation level: `getCGOptLevel`. Identical hooks are available in Clang and LLVM. In other words, the meaning of these optimisation flags remains consistent with other sub-projects that use LLVM backends. Differential Revision: https://reviews.llvm.org/D128050
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp')
0 files changed, 0 insertions, 0 deletions