[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Associating module symbols with defining files
From: |
Eli Zaretskii |
Subject: |
Re: Associating module symbols with defining files |
Date: |
Wed, 12 Jun 2024 10:57:56 +0300 |
> From: Spencer Baugh <sbaugh@janestreet.com>
> Date: Tue, 11 Jun 2024 14:00:33 -0400
>
>
> It's currently impossible to associate a symbol defined by a module with
> the source file which actually defined that symbol.
>
> If this were possible, things like help-view-source would be able to
> jump to the source code for a module-defined function. Under the hood,
> ultimately we want symbol-file to return a correct filename for these
> symbols.
>
> Instead, currently, every symbol defined by a module is "defined" by the
> module .so. So jumping to source just jumps to the (compiled) .so,
> which is fairly useless.
>
> Could this be fixed?
Maybe. But please submit a feature-request bug report with all the
details and a reproducer, so that we could track this issue.
Thanks.