diff options
| author | Quinton Miller <nicetas.c@gmail.com> | 2025-04-27 03:47:09 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-26 21:47:09 +0200 |
| commit | 165acd3734b0bd04c5ae01f62cf01b5240606410 (patch) | |
| tree | 0254a65721d79e96a296ac5bb3d56c462f8335dd /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | |
| parent | 419a2cb218245b90ace9e0a460d94057e7091002 (diff) | |
[LLVM-C] Support debug info for enumerators of arbitrary sizes (#76735)
Since `LLVMDIBuilderCreateEnumerator` only supports up to 64 bits, this
PR adds a new `LLVMDIBuilderCreateEnumeratorOfArbitraryPrecision`
function that takes an arbitrary number of words, based on
`LLVMConstIntOfArbitraryPrecision`. This allows even larger enumeration
types to represent their values exactly. (It seems LLVM should already
support i128 enums since 13.0.0.)
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
0 files changed, 0 insertions, 0 deletions
