From 8ed73c20586e073221b4e712a399b10fdb290fa4 Mon Sep 17 00:00:00 2001 From: Armando Montanez Date: Fri, 21 Dec 2018 21:44:09 +0000 Subject: [PATCH] [TextAPI][elfabi] Fix failing tests from D56020 llvm-svn: 349963 --- llvm/unittests/TextAPI/ELFYAMLTest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/unittests/TextAPI/ELFYAMLTest.cpp b/llvm/unittests/TextAPI/ELFYAMLTest.cpp index 0aeec163a4ee..1ace819cab62 100644 --- a/llvm/unittests/TextAPI/ELFYAMLTest.cpp +++ b/llvm/unittests/TextAPI/ELFYAMLTest.cpp @@ -170,9 +170,11 @@ TEST(ElfYamlTextAPI, YAMLWritesTBESymbols) { ELFSymbol SymBar("bar"); SymBar.Size = 128u; SymBar.Type = ELFSymbolType::Func; + SymBar.Undefined = false; SymBar.Weak = true; ELFSymbol SymNor("nor"); + SymNor.Size = 1234u; SymNor.Type = ELFSymbolType::Func; SymNor.Undefined = true; SymNor.Weak = false;