From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED.2uCIJahv+a4XEBqttj5Vkw.user.gioia.aioe.org!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: ALI Files Cross-References Inconsistency? Date: Sat, 26 Sep 2020 10:03:45 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <1ab5413e-ac60-4fb7-b3bd-930de3f0fe0do@googlegroups.com> <86imc16dd7.fsf@stephe-leake.org> <86a6xd5vwc.fsf@stephe-leake.org> NNTP-Posting-Host: 2uCIJahv+a4XEBqttj5Vkw.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.3.0 Content-Language: en-US X-Notice: Filtered by postfilter v. 0.9.2 Xref: reader02.eternal-september.org comp.lang.ada:60278 List-Id: On 26/09/2020 00:33, Stephen Leake wrote: > "Dmitry A. Kazakov" writes: > >> On 25/09/2020 18:16, Stephen Leake wrote: >>> Leandro Ribeiro writes: >>> >>>> I am currently analyzing .ali files. >>> Be aware that AdaCore is moving away from ali files for cross >>> referencing; that functionality is now provided by libadalang. >> >> Can you elaborate? > > GNATStudio uses libadalang when navigating between files; it does not > use the .ali files. > >> Presently we keep ALI files as build artifacts. Object files are not >> enough in order to avoid recompilation. > > Ok, so .ali files will not go away entirely. But they may lose all their > cross-reference info. Thanks. Recompilation is only one aspect. We want to freeze the whole project state. I see there is the file clang_ref_cache.db. It looks like a database (SQLite?). Probably we should to store it as well in the future. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de