mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +00:00
InstrProf: Actually detect bad headers
<rdar://problem/15950346> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204510 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -29,6 +29,8 @@ class InstrProfErrorCategoryType : public error_category {
|
||||
return "End of File";
|
||||
case instrprof_error::bad_magic:
|
||||
return "Invalid file format (bad magic)";
|
||||
case instrprof_error::bad_header:
|
||||
return "Invalid header";
|
||||
case instrprof_error::unsupported_version:
|
||||
return "Unsupported format version";
|
||||
case instrprof_error::too_large:
|
||||
|
Reference in New Issue
Block a user