HomePhabricator

[Support] Introduce createStringError helper function

Authored by vleschuk on Jul 25 2018, 7:21 PM.

Description

[Support] Introduce createStringError helper function

The function in question is copy-pasted lots of times in DWARF-related classes.
Thus it will make sense to place its implementation into the Support library.

Reviewed by: lhames

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

llvm-svn: 337995

Details