brintos

brintos / llvm-project-archived public Read only

0
0
Text · 802 B · 569e7dc Raw
30 lines · plain
1RUN: ld.lld --version \2RUN:   -d \3RUN:   -g \4RUN:   -long-plt \5RUN:   --no-add-needed \6RUN:   -no-copy-dt-needed-entries \7RUN:   -no-ctors-in-init-array \8RUN:   -no-keep-memory \9RUN:   --no-relax \10RUN:   -no-warn-mismatch \11RUN:   -rpath-link . \12RUN:   -secure-plt \13RUN:   -sort-common \14RUN:   -stats \15RUN:   -warn-execstack \16RUN:   -warn-once \17RUN:   -warn-shared-textrel \18RUN:   -EB \19RUN:   -EL \20RUN:   -G 021RUN: not ld.lld --version --not-an-ignored-argument22 23Test some options that we reject (including those what we used to silently ignore).24 25--detect-odr-violations is a gold-specific option that we don't implement and if26we do, probably in a different way under a different spelling.27RUN: not ld.lld --detect-odr-violations 2>&1 | FileCheck %s28 29CHECK: error: unknown argument30