From a2a2a73c9096cb6fce0e52cb13df1a287886b53e Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Thu, 2 Jun 2016 17:32:11 +0000 Subject: [PATCH] Rename IMAGE_DEBUG_TYPE_NO_TIMESTAMP to IMAGE_DEBUG_TYPE_REPRO This matches the COFF spec llvm-svn: 271549 --- llvm/include/llvm/Support/COFF.h | 3 ++- llvm/tools/llvm-readobj/COFFDumper.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/llvm/include/llvm/Support/COFF.h b/llvm/include/llvm/Support/COFF.h index a9328aa7803d..7dad3e82bda6 100644 --- a/llvm/include/llvm/Support/COFF.h +++ b/llvm/include/llvm/Support/COFF.h @@ -598,12 +598,13 @@ namespace COFF { IMAGE_DEBUG_TYPE_OMAP_TO_SRC = 7, IMAGE_DEBUG_TYPE_OMAP_FROM_SRC = 8, IMAGE_DEBUG_TYPE_BORLAND = 9, + IMAGE_DEBUG_TYPE_RESERVED10 = 10, IMAGE_DEBUG_TYPE_CLSID = 11, IMAGE_DEBUG_TYPE_VC_FEATURE = 12, IMAGE_DEBUG_TYPE_POGO = 13, IMAGE_DEBUG_TYPE_ILTCG = 14, IMAGE_DEBUG_TYPE_MPX = 15, - IMAGE_DEBUG_TYPE_NO_TIMESTAMP = 16, + IMAGE_DEBUG_TYPE_REPRO = 16, }; enum BaseRelocationType { diff --git a/llvm/tools/llvm-readobj/COFFDumper.cpp b/llvm/tools/llvm-readobj/COFFDumper.cpp index 306ebf90b874..f4df40354774 100644 --- a/llvm/tools/llvm-readobj/COFFDumper.cpp +++ b/llvm/tools/llvm-readobj/COFFDumper.cpp @@ -487,12 +487,13 @@ static const EnumEntry ImageDebugType[] = { { "OmapToSrc" , COFF::IMAGE_DEBUG_TYPE_OMAP_TO_SRC }, { "OmapFromSrc", COFF::IMAGE_DEBUG_TYPE_OMAP_FROM_SRC }, { "Borland" , COFF::IMAGE_DEBUG_TYPE_BORLAND }, + { "Reserved10" , COFF::IMAGE_DEBUG_TYPE_RESERVED10 }, { "CLSID" , COFF::IMAGE_DEBUG_TYPE_CLSID }, { "VCFeature" , COFF::IMAGE_DEBUG_TYPE_VC_FEATURE }, { "POGO" , COFF::IMAGE_DEBUG_TYPE_POGO }, { "ILTCG" , COFF::IMAGE_DEBUG_TYPE_ILTCG }, { "MPX" , COFF::IMAGE_DEBUG_TYPE_MPX }, - { "NoTimestamp", COFF::IMAGE_DEBUG_TYPE_NO_TIMESTAMP }, + { "Repro" , COFF::IMAGE_DEBUG_TYPE_REPRO }, }; static const EnumEntry