[all-commits] [llvm/llvm-project] 027d47: [DebugInfo] Simplify DIEInteger::SizeOf().
Igor Kudrin via All-commits
all-commits at lists.llvm.org
Wed Sep 16 22:48:11 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 027d47d1c7ce1708294f5273cde09b24c7cbab77
https://github.com/llvm/llvm-project/commit/027d47d1c7ce1708294f5273cde09b24c7cbab77
Author: Igor Kudrin <ikudrin at accesssoftek.com>
Date: 2020-09-17 (Thu, 17 Sep 2020)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/DIE.cpp
M llvm/unittests/CodeGen/DIEHashTest.cpp
Log Message:
-----------
[DebugInfo] Simplify DIEInteger::SizeOf().
An AsmPrinter should always be provided to the method because some forms
depend on its parameters. The only place in the codebase which passed
a nullptr value was found in the unit tests, so the patch updates it to
use some dummy AsmPrinter instead.
Differential Revision: https://reviews.llvm.org/D85293
More information about the All-commits
mailing list