diff options
author | David Truby <david@truby.dev> | 2023-05-11 14:47:31 +0100 |
---|---|---|
committer | David Truby <david@truby.dev> | 2023-05-11 15:47:20 +0100 |
commit | 28dc5f4cdd5e552c87ec72d39bd0f9d7378ab747 (patch) | |
tree | 56c0e5911f8501d4a066b7959b54f26734b274bd /llvm/lib/Analysis/LoopAccessAnalysis.cpp | |
parent | e13d1b5227a77bb7becfd4c49a60720ecc33f870 (diff) | |
download | llvm-28dc5f4cdd5e552c87ec72d39bd0f9d7378ab747.zip llvm-28dc5f4cdd5e552c87ec72d39bd0f9d7378ab747.tar.gz llvm-28dc5f4cdd5e552c87ec72d39bd0f9d7378ab747.tar.bz2 |
[flang] Use internal linkage for string literals
On Windows, global string literals with "linkonce" linkage is not
supported without using comdat. As a simpler fix than adding comdat
support we can use internal linkage instead.
This fixes a bug where two string literals with the same value in
different fortran files would cause a linker error due to the use
of linkonce linkage.
Reviewed By: jeanPerier
Differential Revision: https://reviews.llvm.org/D149859
Diffstat (limited to 'llvm/lib/Analysis/LoopAccessAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions