[llvm] 975f71f - [ELFAttributeParser] Update the ELFAttributeParserTest for 8f208ed
Haojian Wu via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 27 05:40:27 PDT 2023
Author: Haojian Wu
Date: 2023-06-27T14:40:02+02:00
New Revision: 975f71faa72aaaaf9c82b93a32bd428503722bbf
URL: https://github.com/llvm/llvm-project/commit/975f71faa72aaaaf9c82b93a32bd428503722bbf
DIFF: https://github.com/llvm/llvm-project/commit/975f71faa72aaaaf9c82b93a32bd428503722bbf.diff
LOG: [ELFAttributeParser] Update the ELFAttributeParserTest for 8f208ed
The 8f208ed has removed the "unrecognized vendor-name" error, updated
the unittest accordingly.
Added:
Modified:
llvm/unittests/Support/ELFAttributeParserTest.cpp
Removed:
################################################################################
diff --git a/llvm/unittests/Support/ELFAttributeParserTest.cpp b/llvm/unittests/Support/ELFAttributeParserTest.cpp
index 5eaed39a71057..74d031e58a8b0 100644
--- a/llvm/unittests/Support/ELFAttributeParserTest.cpp
+++ b/llvm/unittests/Support/ELFAttributeParserTest.cpp
@@ -45,11 +45,6 @@ TEST(AttributeHeaderParser, InvalidSectionLength) {
testParseError(bytes, "invalid section length 3 at offset 0x1");
}
-TEST(AttributeHeaderParser, UnrecognizedVendorName) {
- static const uint8_t bytes[] = {'A', 7, 0, 0, 0, 'x', 'y', 0};
- testParseError(bytes, "unrecognized vendor-name: xy");
-}
-
TEST(AttributeHeaderParser, UnrecognizedTag) {
static const uint8_t bytes[] = {'A', 14, 0, 0, 0, 't', 'e', 's',
't', 0, 4, 5, 0, 0, 0};
More information about the llvm-commits
mailing list