diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2018-02-08 10:48:54 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2018-02-08 10:48:54 +0000 |
commit | d4034d24da4c2d89314b57a7a094d3d7e908b0bf (patch) | |
tree | 5772b6ea043fd19449f70cb56b76535d94e5c031 /llvm/tools/dsymutil/DebugMap.h | |
parent | 374e6de8e0378c96fc7d1ea1d58433c81cf34cbe (diff) | |
download | bcm5719-llvm-d4034d24da4c2d89314b57a7a094d3d7e908b0bf.tar.gz bcm5719-llvm-d4034d24da4c2d89314b57a7a094d3d7e908b0bf.zip |
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
Diffstat (limited to 'llvm/tools/dsymutil/DebugMap.h')
-rw-r--r-- | llvm/tools/dsymutil/DebugMap.h | 3 |
1 files changed, 2 insertions, 1 deletions
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<std::chrono::seconds> Timestamp, - uint8_t Type); + uint8_t Type = llvm::MachO::N_OSO); const Triple &getTriple() const { return BinaryTriple; } |