[all-commits] [llvm/llvm-project] 165acd: [LLVM-C] Support debug info for enumerators of arb...

Quinton Miller via All-commits all-commits at lists.llvm.org
Sat Apr 26 12:47:30 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 165acd3734b0bd04c5ae01f62cf01b5240606410
      https://github.com/llvm/llvm-project/commit/165acd3734b0bd04c5ae01f62cf01b5240606410
  Author: Quinton Miller <nicetas.c at gmail.com>
  Date:   2025-04-26 (Sat, 26 Apr 2025)

  Changed paths:
    M llvm/docs/ReleaseNotes.md
    M llvm/include/llvm-c/DebugInfo.h
    M llvm/lib/IR/DebugInfo.cpp
    M llvm/test/Bindings/llvm-c/debug_info_new_format.ll
    M llvm/tools/llvm-c-test/debuginfo.c

  Log Message:
  -----------
  [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.)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list