diff options
author | Jameson Nash <vtjnash@gmail.com> | 2025-01-16 11:00:06 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-16 17:00:06 +0100 |
commit | f6b0555a433cea1d32a6904c120516cd94b8f3db (patch) | |
tree | c62851c0d0cca910cf325c5574da59dae568a55b /llvm/lib/FileCheck/FileCheck.cpp | |
parent | eac23a5b971362cda3c646e018b9f26d0bc1ff3a (diff) | |
download | llvm-f6b0555a433cea1d32a6904c120516cd94b8f3db.zip llvm-f6b0555a433cea1d32a6904c120516cd94b8f3db.tar.gz llvm-f6b0555a433cea1d32a6904c120516cd94b8f3db.tar.bz2 |
[AsmPrinter] Reintroduce full AsmPrinterHandler API (#122297)
This restores the functionality of AsmPrinterHandlers to what it was
prior to https://github.com/llvm/llvm-project/pull/96785. The attempted
hack there of adding a duplicate DebugHandlerBase handling added a lot
of hidden state and assumptions, which just segfaulted when we tried to
continuing using this API. Instead, this just goes back to the old
design, but adds a separate array for the basic EH handles. The
duplicate array is identical to the other array of handler, but which
doesn't get their begin/endInstruction callbacks called. This still
saves the negligible but measurable amount of virtual function calls as
was the goal of #96785, while restoring the API to the pre-LLVM-19
status quo.
Diffstat (limited to 'llvm/lib/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions