HomePhabricator

MCDwarf: Delete uneeded parameter

Authored by MaskRay on Jan 21 2021, 12:55 AM.

Description

MCDwarf: Delete uneeded parameter

And change signature

Details

Committed
MaskRayJan 21 2021, 12:55 AM
Parents
rGdd5c98280473: [llvm-nm][ELF] - Make -D display symbol versions.
Branches
Unknown
Tags
Unknown

Event Timeline

I'm getting a build error with clang 5.0 and libgcc 5.4.0 after this:

llvm/lib/MC/MCDwarf.cpp:814:10: error: chosen constructor is explicit in copy-initialization
  return {Offset, Size, SetDelta};
         ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/tuple:479:19: note: explicit constructor declared here
        constexpr tuple(_UElements&&... __elements)
                  ^
1 error generated.

Any ideas?