Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
lld/test/ELF/conflict.s
# REQUIRES: x86 | # REQUIRES: x86 | ||||
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1.o | # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1.o | ||||
# RUN: not ld.lld %t1.o %t1.o -o %t2 2>&1 | FileCheck -check-prefix=DEMANGLE %s | # RUN: not ld.lld %t1.o %t1.o -o %t2 2>&1 | FileCheck -check-prefix=DEMANGLE %s | ||||
# DEMANGLE: duplicate symbol: mul(double, double) | # DEMANGLE: duplicate symbol: "mul(double, double)" (_Z3muldd) | ||||
# DEMANGLE-NEXT: >>> defined at {{.*}}:(.text+0x0) | # DEMANGLE-NEXT: >>> defined at {{.*}}:(.text+0x0) | ||||
# DEMANGLE-NEXT: >>> defined at {{.*}}:(.text+0x0) | # DEMANGLE-NEXT: >>> defined at {{.*}}:(.text+0x0) | ||||
# DEMANGLE: duplicate symbol: foo | # DEMANGLE: duplicate symbol: foo | ||||
# DEMANGLE-NEXT: >>> defined at {{.*}}:(.text+0x0) | # DEMANGLE-NEXT: >>> defined at {{.*}}:(.text+0x0) | ||||
# DEMANGLE-NEXT: >>> defined at {{.*}}:(.text+0x0) | # DEMANGLE-NEXT: >>> defined at {{.*}}:(.text+0x0) | ||||
# RUN: not ld.lld %t1.o %t1.o -o %t2 --no-demangle 2>&1 | \ | # RUN: not ld.lld %t1.o %t1.o -o %t2 --no-demangle 2>&1 | \ | ||||
# RUN: FileCheck -check-prefix=NO_DEMANGLE %s | # RUN: FileCheck -check-prefix=NO_DEMANGLE %s | ||||
Show All 37 Lines |