[Lldb-commits] [PATCH] D134493: [lldb][TypeSystemClang] Deduce lldb::eEncodingUint for unsigned enum types

David Spickett via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 23 01:37:40 PDT 2022


DavidSpickett added a comment.

> Wasn't sure how to properly test this since the original reproducer technically relies on implementation-defined behaviour (i.e., initialising a bitfield with an out-of-range value). Suggestions are welcome

Is this undefined behaviour defined at least for clang only across platforms? I'm guessing most of the time the test suite programs are built with clang, though you can change that with a cmake var. Perhaps you could do something like `@skipifnotclang` in that case.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134493/new/

https://reviews.llvm.org/D134493



More information about the lldb-commits mailing list