| 1 | package ExtUtils::Builder::Linker::ELF::GCC; | ||||||||||||
| 2 | 2 | $ExtUtils::Builder::Linker::ELF::GCC::VERSION = '0.038'; | |||||||||||
| 3 | 2 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 4 | 2 | ▶ | use warnings; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 5 | |||||||||||||
| 6 | 2 | ▶ | use parent 'ExtUtils::Builder::Linker::ELF::Any'; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 7 | |||||||||||||
| 8 | 2 | ▶ | sub _init { | ||||||||||
|
Subroutine
_init: called CC=4 SCAR=14.5
| |||||||||||||
| 9 | 2 | my ($self, %args) = @_; | |||||||||||
| 10 | 2 | ▶ | $args{ld} //= 'gcc'; | ||||||||||
|
Condition50%1/2
$args{"ld"} //= "gcc"
MC/DC0%0/1
$args{"ld"} //= "gcc"
$args{"ld"}
Truth table50%1/2
A
A= $args{"ld"}
| |||||||||||||
| 11 | 2 | ▶ | $args{ccdlflags} //= ['-Wl,-E']; | ||||||||||
|
Condition50%1/2
$args{"ccdlflags"} //= ["-Wl,-E"]
MC/DC0%0/1
$args{"ccdlflags"} //= ["-Wl,-E"]
$args{"ccdlflags"}
Truth table50%1/2
A
A= $args{"ccdlflags"}
| |||||||||||||
| 12 | 2 | ▶ | $args{lddlflags} //= ['-shared']; | ||||||||||
|
Condition50%1/2
$args{"lddlflags"} //= ["-shared"]
MC/DC0%0/1
$args{"lddlflags"} //= ["-shared"]
$args{"lddlflags"}
Truth table50%1/2
A
A= $args{"lddlflags"}
| |||||||||||||
| 13 | 2 | $self->SUPER::_init(%args); | |||||||||||
| 14 | 2 | return; | |||||||||||
| 15 | } | ||||||||||||
| 16 | |||||||||||||
| 17 | 0 | ▶ | sub add_runtime_path { | ||||||||||
|
Subroutine
add_runtime_path: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||
| 18 | 0 | my ($self, $dirs, %opts) = @_; | |||||||||||
| 19 | 0 | $self->add_argument(ranking => $self->fix_ranking(30, $opts{ranking}), value => [ map { "-Wl,-rpath,$_" } @{$dirs} ]); | |||||||||||
| 20 | 0 | return; | |||||||||||
| 21 | } | ||||||||||||
| 22 | |||||||||||||
| 23 | 2 | 1; | |||||||||||
| 24 | |||||||||||||
| 25 | |||||||||||||