mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
[llvm-readobj][NFC]
Appeasing mingw without C++11 std::to_string git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222369 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
334ebf33ea
commit
e0bb2f31b2
@ -20,6 +20,7 @@
|
||||
#include "Win64EHDumper.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/ADT/SmallString.h"
|
||||
#include "llvm/ADT/StringExtras.h"
|
||||
#include "llvm/Object/COFF.h"
|
||||
#include "llvm/Object/ObjectFile.h"
|
||||
#include "llvm/Support/COFF.h"
|
||||
@ -1086,7 +1087,7 @@ static StringRef getBaseRelocTypeName(uint8_t Type) {
|
||||
case COFF::IMAGE_REL_BASED_HIGHLOW: return "HIGHLOW";
|
||||
case COFF::IMAGE_REL_BASED_HIGHADJ: return "HIGHADJ";
|
||||
case COFF::IMAGE_REL_BASED_DIR64: return "DIR64";
|
||||
default: return "unknown (" + std::to_string(Type) + ")";
|
||||
default: return "unknown (" + llvm::utostr(Type) + ")";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user