diff options
author | Hans Wennborg <hans@chromium.org> | 2021-01-29 10:54:40 +0100 |
---|---|---|
committer | Hans Wennborg <hans@chromium.org> | 2021-02-02 10:28:32 +0100 |
commit | 0479c53b6c5224c16bdc78cb014e76c0b0dbc6f9 (patch) | |
tree | 920183e8da0f0334d9afe79b1fc430bc22ca699d /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | b91afa474e124514fe7bd3f399af0cbbcbe961fc (diff) | |
download | llvm-0479c53b6c5224c16bdc78cb014e76c0b0dbc6f9.zip llvm-0479c53b6c5224c16bdc78cb014e76c0b0dbc6f9.tar.gz llvm-0479c53b6c5224c16bdc78cb014e76c0b0dbc6f9.tar.bz2 |
[dllimport] Honor always_inline when deciding whether a dllimport function should be available for inlining (PR48925)
Normally, Clang will not make dllimport functions available for inlining
if they reference non-imported symbols, as this can lead to confusing
link errors. But if the function is marked always_inline, the user
presumably knows what they're doing and the attribute should be honored.
Differential revision: https://reviews.llvm.org/D95673
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions