diff options
author | Pavel Labath <pavel@labath.sk> | 2025-01-15 10:37:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-15 10:37:06 +0100 |
commit | eb96c8c105226956c8ed5ab30699206f53de74f7 (patch) | |
tree | 91902a7cefb9d5356fcff1d75a5cf1fae1e3c049 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | b3924cb9ecc95aa428d48e58ef5f2629f5166e02 (diff) | |
download | llvm-eb96c8c105226956c8ed5ab30699206f53de74f7.zip llvm-eb96c8c105226956c8ed5ab30699206f53de74f7.tar.gz llvm-eb96c8c105226956c8ed5ab30699206f53de74f7.tar.bz2 |
[lldb] Implement (SB)Function::GetInstructions for discontinuous functions (#122933)
The main change is to permit the disassembler class to process/store
multiple (discontinuous) ranges of addresses. The result is not
ambiguous because each instruction knows its size (in addition to its
address), so we can check for discontinuity by looking at whether the
next instruction begins where the previous ends.
This patch doesn't handle the "disassemble" CLI command, which uses a
more elaborate mechanism for disassembling and printing instructions.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions