HomePhabricator

[DebugInfo] Simplify DIEInteger::SizeOf().

Authored by ikudrin on Wed, Sep 16, 10:47 PM.

Description

[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

Details

Committed
ikudrinWed, Sep 16, 10:47 PM
Differential Revision
D85293: [DebugInfo] Simplify DIEInteger::SizeOf().
Parents
rGe69092be5247: [llvm-cov gcov][test] Move tests to gcov/
Branches
Unknown
Tags
Unknown