[PATCH] D54327: Adding debug info to support Fortran (part 3)

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 11 12:31:00 PDT 2019


aprantl added a comment.

In D54327#1422996 <https://reviews.llvm.org/D54327#1422996>, @schweitz wrote:

> In D54327#1310565 <https://reviews.llvm.org/D54327#1310565>, @probinson wrote:
>
> > I am curious how debug info for common blocks plays with LTO.  I think we would not want different common-block descriptions to be de-duplicated just because the global name was the same.
>
>
> Our existing compilers do not make use of LLVM's LTO.  Is there a suggestion on how to correctly deal with LTO's de-duplication?


You can simulate the relevant effect of LTO by producing two .ll files and running llvm-link on them. Alternatively you can also run llvm-lto/llvm-lto2 on them for a more complete simulation.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D54327/new/

https://reviews.llvm.org/D54327





More information about the llvm-commits mailing list