Hi Marc.
SH wrote, 2017-07-12:
>> I am looking for a compiler option that will produce output
>> that could give me a start for determining a list of reachable
>> top-level functions/variables. I have tried other compilers but they
>> tend to deliver too many false positives for complex programs.
Have you tried the declaration (optimize-dead-definitions) in Gambit? There’s
also the -report compiler option.
Marc
> On Jul 12, 2017, at 1:56 PM, Sven Hartrumpf wrote:
>
> Hi all.
>
> I am looking for a compiler option that will produce output
> that could give me a
On Thu, Jul 13, 2017 at 09:19:55AM +0200, Sven Hartrumpf wrote:
> Hi Peter.
>
> Peter Bex schrieb am 2017-07-13 09:05:
> > On Thu, Jul 13, 2017 at 08:52:31AM +0200, Sven Hartrumpf wrote:
> >> Yes, functions that can never be called from the compiled program
> >> are still
Hi Peter.
Peter Bex schrieb am 2017-07-13 09:05:
> On Thu, Jul 13, 2017 at 08:52:31AM +0200, Sven Hartrumpf wrote:
>> Yes, functions that can never be called from the compiled program
>> are still there.
>> Will the profile output of the compiled program
On Thu, Jul 13, 2017 at 08:52:31AM +0200, Sven Hartrumpf wrote:
> Yes, functions that can never be called from the compiled program
> are still there.
> Will the profile output of the compiled program (-accumulate-profile)
> be a reliable filter if I avoid inlining and make
> sure that all
Hi Evan.
Evan Hanson , 2017-07-13 11:28:
> Hi Sven,
>
> Have you tried `csc -analyze-only -debug d`?
No, the output could be a useful start.
> This will give you a full list of value definitions, including module
> prefixes for any identifiers bound within a module. This
Hello Sven,
On Wed, 12 Jul 2017 19:56:36 +0200 (CEST) Sven Hartrumpf
wrote:
> I am looking for a compiler option that will produce output
> that could give me a start for determining a list of reachable
> top-level functions/variables. I have tried other compilers but they
>
Hi Sven,
Have you tried `csc -analyze-only -debug d`?
This will give you a full list of value definitions, including module
prefixes for any identifiers bound within a module. This may not be
precisely what you mean by "reachable", but it might be a start.
Cheers,
Evan
Hi all.
I am looking for a compiler option that will produce output
that could give me a start for determining a list of reachable
top-level functions/variables. I have tried other compilers but they
tend to deliver too many false positives for complex programs.
Ciao
Sven