aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectCommands.cpp
diff options
context:
space:
mode:
authorFabian Parzefall <parzefall@meta.com>2024-09-05 12:39:39 -0700
committerGitHub <noreply@github.com>2024-09-05 12:39:39 -0700
commit53d5ffea6be7216589599b6415c021f8bd13cd37 (patch)
treeb415025118fc8f12c355d4cb867e8f1a204e4788 /lldb/source/Commands/CommandObjectCommands.cpp
parent5515b086f35c2c1402234b9b94338f10fc9d16f7 (diff)
downloadllvm-53d5ffea6be7216589599b6415c021f8bd13cd37.zip
llvm-53d5ffea6be7216589599b6415c021f8bd13cd37.tar.gz
llvm-53d5ffea6be7216589599b6415c021f8bd13cd37.tar.bz2
[clang] Check inline defs when emitting speculative vtable (#100785)
Clang should only emit an available_externally vtable when there are no unused virtual inline functions. Currently, if such such a function is declared without inline inside the class, but is defined inline outside the class, Clang might emit the vtable as available_externally. This happens because Clang only considers the declarations of vtable entries, but not the definitions. This patch addresses this by inspecting the definitions in addition to the declarations.
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions