]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/lto-plugin-ignore.s
Vendor import of lld trunk r321017:
[FreeBSD/FreeBSD.git] / test / ELF / lto-plugin-ignore.s
1 # REQUIRES: x86
2
3 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
4 # RUN: ld.lld %t -plugin-opt=/foo/bar -plugin-opt=-fresolution=zed \
5 # RUN:   -plugin-opt=-pass-through=-lgcc -plugin-opt=-function-sections \
6 # RUN:   -plugin-opt=-data-sections -o /dev/null
7
8 # RUN: not ld.lld %t -plugin-opt=-data-sectionssss \
9 # RUN:   -plugin-opt=-function-sectionsss 2>&1 | FileCheck %s
10 # CHECK: unknown option: -data-sectionsss
11 # CHECK: unknown option: -function-sectionsss