From d4034d24da4c2d89314b57a7a094d3d7e908b0bf Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Thu, 8 Feb 2018 10:48:54 +0000 Subject: Re-land [dsymutil] Upstream update feature This commit attempts to re-land the r324480 which was reverted in r324493 because it broke the Windows bots. For now I disabled the two update tests on Windows until I'm able to debug this. Differential revision: https://reviews.llvm.org/D42880 llvm-svn: 324592 --- llvm/tools/dsymutil/DebugMap.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'llvm/tools/dsymutil/DebugMap.h') diff --git a/llvm/tools/dsymutil/DebugMap.h b/llvm/tools/dsymutil/DebugMap.h index 3b5b437ccff..e64285f3996 100644 --- a/llvm/tools/dsymutil/DebugMap.h +++ b/llvm/tools/dsymutil/DebugMap.h @@ -28,6 +28,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/ADT/Triple.h" #include "llvm/ADT/iterator_range.h" +#include "llvm/Object/MachO.h" #include "llvm/Support/Chrono.h" #include "llvm/Support/ErrorOr.h" #include "llvm/Support/YAMLTraits.h" @@ -107,7 +108,7 @@ public: DebugMapObject & addDebugMapObject(StringRef ObjectFilePath, sys::TimePoint Timestamp, - uint8_t Type); + uint8_t Type = llvm::MachO::N_OSO); const Triple &getTriple() const { return BinaryTriple; } -- cgit v1.2.3