forked from OSchip/llvm-project
parent
b080267bff
commit
f4a5e2f439
|
@ -0,0 +1,4 @@
|
|||
int fn()
|
||||
{
|
||||
return 0;
|
||||
}
|
Binary file not shown.
|
@ -0,0 +1,4 @@
|
|||
int main() {
|
||||
fn();
|
||||
return 0;
|
||||
}
|
Binary file not shown.
|
@ -0,0 +1,6 @@
|
|||
# This tests the functionality for finding the shared library libfn.so for ELF
|
||||
RUN: lld -flavor gnu -target x86_64 %p/Inputs/main.o -L%p/Inputs/ -lfn -o %t \
|
||||
RUN: --noinhibit-exec -t > %t1
|
||||
RUN: FileCheck %s < %t1
|
||||
|
||||
CHECK: {{[\/0-9A-Za-z_]+}}libfn.so
|
Loading…
Reference in New Issue