aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorRahul Joshi <rjoshi@nvidia.com>2025-06-24 18:49:05 -0700
committerGitHub <noreply@github.com>2025-06-24 18:49:05 -0700
commited5f8f238d68811ad5eabcdb0248bcd65ab81960 (patch)
tree5e031fb5b2e65d57875886e7072f82ee2da94b2a /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parentf608716b098687f67c981f96d1adff324e41e486 (diff)
downloadllvm-ed5f8f238d68811ad5eabcdb0248bcd65ab81960.zip
llvm-ed5f8f238d68811ad5eabcdb0248bcd65ab81960.tar.gz
llvm-ed5f8f238d68811ad5eabcdb0248bcd65ab81960.tar.bz2
[LLVM][DecoderEmitter] Add option to use function table in decodeToMCInst (#144814)
Add option `use-fn-table-in-decode-to-mcinst` to use a table of function pointers instead of a switch case in the generated `decodeToMCInst` function. When the number of switch cases in this function is large, the generated code takes a long time to compile in release builds. Using a table of function pointers instead improves the compile time significantly (~3x speedup in compiling the code in a downstream target). This option will allow targets to opt into this mode if they desire for better build times. Tested with `check-llvm-mc` with the option enabled by default.
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions