[llvm] r349963 - [TextAPI][elfabi] Fix failing tests from D56020
Armando Montanez via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 21 13:44:10 PST 2018
Author: amontanez
Date: Fri Dec 21 13:44:09 2018
New Revision: 349963
URL: http://llvm.org/viewvc/llvm-project?rev=349963&view=rev
Log:
[TextAPI][elfabi] Fix failing tests from D56020
Modified:
llvm/trunk/unittests/TextAPI/ELFYAMLTest.cpp
Modified: llvm/trunk/unittests/TextAPI/ELFYAMLTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/TextAPI/ELFYAMLTest.cpp?rev=349963&r1=349962&r2=349963&view=diff
==============================================================================
--- llvm/trunk/unittests/TextAPI/ELFYAMLTest.cpp (original)
+++ llvm/trunk/unittests/TextAPI/ELFYAMLTest.cpp Fri Dec 21 13:44:09 2018
@@ -170,9 +170,11 @@ TEST(ElfYamlTextAPI, YAMLWritesTBESymbol
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;
More information about the llvm-commits
mailing list