aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/LoopAccessAnalysis.cpp
diff options
context:
space:
mode:
authorDavid Truby <david@truby.dev>2023-05-11 14:47:31 +0100
committerDavid Truby <david@truby.dev>2023-05-11 15:47:20 +0100
commit28dc5f4cdd5e552c87ec72d39bd0f9d7378ab747 (patch)
tree56c0e5911f8501d4a066b7959b54f26734b274bd /llvm/lib/Analysis/LoopAccessAnalysis.cpp
parente13d1b5227a77bb7becfd4c49a60720ecc33f870 (diff)
downloadllvm-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