bolt/deps/llvm-18.1.8/llvm/test/tools/yaml2obj/ELF/empty-symbols.yaml
2025-02-14 19:21:04 +01:00

11 lines
289 B
YAML

## Ensure yaml2obj doesn't error on empty optional mappings, such as Symbols
# RUN: yaml2obj %s -o /dev/null
!ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_DYN
## We usually express this as `Symbols: []`, but here we show that the value
## can be omitted.
Symbols: