aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-06-01 00:10:19 +0000
committerChris Bieneman <beanz@apple.com>2016-06-01 00:10:19 +0000
commitaf7e32296749270038b010cb3858cc4b8e97506e (patch)
tree37c3bfbec1cc874dcd436ef6aa9119a4720bb858
parentf7a8ef5a719cacfabd84fed57e60a368c19765c0 (diff)
downloadllvm-af7e32296749270038b010cb3858cc4b8e97506e.zip
llvm-af7e32296749270038b010cb3858cc4b8e97506e.tar.gz
llvm-af7e32296749270038b010cb3858cc4b8e97506e.tar.bz2
[obj2yaml] One more attempt at fixing msan
Bot URL: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap/builds/11834/steps/check-llvm%20msan/logs/stdio llvm-svn: 271353
-rw-r--r--llvm/include/llvm/ObjectYAML/MachOYAML.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/llvm/include/llvm/ObjectYAML/MachOYAML.h b/llvm/include/llvm/ObjectYAML/MachOYAML.h
index 9075b17..ee11055 100644
--- a/llvm/include/llvm/ObjectYAML/MachOYAML.h
+++ b/llvm/include/llvm/ObjectYAML/MachOYAML.h
@@ -72,8 +72,11 @@ struct BindOpcode {
};
struct ExportEntry {
- uint64_t TerminalSize = 0;
- uint64_t NodeOffset = 0;
+ ExportEntry()
+ : TerminalSize(0), NodeOffset(0), Name(), Flags(0), Address(0), Other(0),
+ ImportName(), Children() {}
+ uint64_t TerminalSize;
+ uint64_t NodeOffset;
std::string Name;
llvm::yaml::Hex64 Flags;
llvm::yaml::Hex64 Address;