[all-commits] [llvm/llvm-project] 7292d0: [llvm-debuginfo-analyzer] Fix format string-type m...

Michał Górny via All-commits all-commits at lists.llvm.org
Fri Nov 4 04:59:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7292d051a94032ea9ea56471ad40cc81696cca5b
      https://github.com/llvm/llvm-project/commit/7292d051a94032ea9ea56471ad40cc81696cca5b
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2022-11-04 (Fri, 04 Nov 2022)

  Changed paths:
    M llvm/lib/DebugInfo/LogicalView/Core/LVScope.cpp
    M llvm/test/tools/llvm-debuginfo-analyzer/DWARF/06-dwarf-full-logical-view.test

  Log Message:
  -----------
  [llvm-debuginfo-analyzer] Fix format string-type mismatch in LVScope

Fix mismatch between `%d`/`%x` format strings and `uint64_t` type.
This fixes incorrect printing of "Scope Sizes" on 32-bit platforms
where this leads to `llvm::print()` misreading vararg.

Fixes #58758

Differential Revision: https://reviews.llvm.org/D137400




More information about the All-commits mailing list