summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/TextAPI/ELFYAMLTest.cpp
diff options
context:
space:
mode:
authorArmando Montanez <amontanez@google.com>2018-12-21 21:44:09 +0000
committerArmando Montanez <amontanez@google.com>2018-12-21 21:44:09 +0000
commit8ed73c20586e073221b4e712a399b10fdb290fa4 (patch)
tree1007e8e9bbd24a7615bf26b32a658cece69362fa /llvm/unittests/TextAPI/ELFYAMLTest.cpp
parente58cd9cbc6f5039a45da77713eb68977f01c9f31 (diff)
downloadbcm5719-llvm-8ed73c20586e073221b4e712a399b10fdb290fa4.tar.gz
bcm5719-llvm-8ed73c20586e073221b4e712a399b10fdb290fa4.zip
[TextAPI][elfabi] Fix failing tests from D56020
llvm-svn: 349963
Diffstat (limited to 'llvm/unittests/TextAPI/ELFYAMLTest.cpp')
-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