forked from OSchip/llvm-project
The g_format_infos table needs to be updated in concert with the
enum Format entries; else we can crash in a place like FormatManager::GetFormatAsCString(). We should add bounds checks to prevent this more reliably, but for tonight I'm just adding this entry to keep an address-sanitizer test run working. llvm-svn: 369611
This commit is contained in:
parent
246750c2a9
commit
ca4409b4dc
|
@ -47,6 +47,7 @@ static FormatInfo g_format_infos[] = {
|
|||
{eFormatFloat, 'f', "float"},
|
||||
{eFormatOctal, 'o', "octal"},
|
||||
{eFormatOSType, 'O', "OSType"},
|
||||
{eFormatUnicode8, 'u', "unicode8"},
|
||||
{eFormatUnicode16, 'U', "unicode16"},
|
||||
{eFormatUnicode32, '\0', "unicode32"},
|
||||
{eFormatUnsigned, 'u', "unsigned decimal"},
|
||||
|
|
Loading…
Reference in New Issue