[all-commits] [llvm/llvm-project] f9f564: [DebugInfo] Use per-enumerator signedness for DIEn...

Reid Kleckner via All-commits all-commits at lists.llvm.org
Mon Jul 26 16:14:45 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f9f56488e02d1c09a9cd4acde61ce1c712e71405
      https://github.com/llvm/llvm-project/commit/f9f56488e02d1c09a9cd4acde61ce1c712e71405
  Author: Reid Kleckner <rnk at google.com>
  Date:   2021-07-26 (Mon, 26 Jul 2021)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/test/CodeGen/enum2.c

  Log Message:
  -----------
  [DebugInfo] Use per-enumerator signedness for DIEnumerator

Allegedly the DWARF backend ignores this field of DIEnumerator, but we
set it nonetheless in case we decide to use it in the future.
Alternatively, we could remove it, but it is simpler to pass down the
signed bit as it is in the AST for now.

Implemented to address comments on D106585




More information about the All-commits mailing list