summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/unittests/TextAPI/ELFYAMLTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/unittests/TextAPI/ELFYAMLTest.cpp b/llvm/unittests/TextAPI/ELFYAMLTest.cpp
index 0aeec163a4e..1ace819cab6 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;
OpenPOWER on IntegriCloud