summaryrefslogtreecommitdiff
path: root/bolt
diff options
context:
space:
mode:
authorAnton Sidorenko <anton.sidorenko@syntacore.com>2023-01-16 17:58:28 +0300
committerAnton Sidorenko <anton.sidorenko@syntacore.com>2023-02-09 12:59:50 +0300
commit6820cb2dd5cfa103953373b5a00b8e59365bad7f (patch)
treec891c41686945cc0f7d5537ab85d989c03629dbe /bolt
parent10629bb96aebfefaadfb0069bc7e276b868fcef9 (diff)
downloadllvm-6820cb2dd5cfa103953373b5a00b8e59365bad7f.tar.gz
[Test] Fix YAML mapping keys duplication. NFC.
YAML specification does not allow keys duplication an a mapping. However, YAML parser in LLVM does not have any check on that and uses only the last key entry. In this change duplicated keys are merged to satisfy the spec. Differential Revision: https://reviews.llvm.org/D141848
Diffstat (limited to 'bolt')
-rw-r--r--bolt/test/AArch64/Inputs/plt-gnu-ld.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/bolt/test/AArch64/Inputs/plt-gnu-ld.yaml b/bolt/test/AArch64/Inputs/plt-gnu-ld.yaml
index 04e7f85b6722..1e3353acb633 100644
--- a/bolt/test/AArch64/Inputs/plt-gnu-ld.yaml
+++ b/bolt/test/AArch64/Inputs/plt-gnu-ld.yaml
@@ -175,6 +175,7 @@ Sections:
Symbol: .text
Type: R_AARCH64_ADD_ABS_LO12_NC
Addend: 56
+ - Offset: 0x400540
Symbol: '__libc_start_main@@GLIBC_2.17'
Type: R_AARCH64_CALL26
- Offset: 0x400544