aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorJohn Harrison <harjohn@google.com>2025-03-28 18:35:19 -0700
committerGitHub <noreply@github.com>2025-03-28 20:35:19 -0500
commit539ef5eee2c26b93923ed7872c6f847ff54c71ae (patch)
treec7db70727863adb81d156a2d910fe8c1f41e1162 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parent55430f8673b9f8b27779faad3fe9c59954d539df (diff)
downloadllvm-539ef5eee2c26b93923ed7872c6f847ff54c71ae.zip
llvm-539ef5eee2c26b93923ed7872c6f847ff54c71ae.tar.gz
llvm-539ef5eee2c26b93923ed7872c6f847ff54c71ae.tar.bz2
[lldb-dap] Addressing ubsan enum usage. (#133542)
Running tests with ubsan enabled showed that the current `protocol::AdapterFeature` and `protocol::ClientFeature` enums are incorrectly defined if we want to use them in a `llvm::DenseSet`. The enums are currently untyped and this results in the undefined behavior. Adding `FLAGS_ENUM()` wrappers to all the enums in the `lldb-dap::protocol` namespace to ensure they're typed so they can be used with types like `llvm::DenseSet`.
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions