aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorOrlando Cazalet-Hyams <orlando.hyams@sony.com>2025-06-30 08:01:55 +0100
committerGitHub <noreply@github.com>2025-06-30 08:01:55 +0100
commit140e1894f245896752d06a7f5c405a465b492e73 (patch)
treec822251b6651cca627b73698e566ae516ff3e33d /flang/lib/Frontend/CompilerInvocation.cpp
parent629126ed44bd3ce5b6f476459c805be4e4e0c2ca (diff)
downloadllvm-140e1894f245896752d06a7f5c405a465b492e73.zip
llvm-140e1894f245896752d06a7f5c405a465b492e73.tar.gz
llvm-140e1894f245896752d06a7f5c405a465b492e73.tar.bz2
[KeyInstr] Add DISubprogram::keyInstructions bit (#144107)
Patch 1/4 adding bitcode support. Store whether or not a function is using Key Instructions in its DISubprogram so that we don't need to rely on the -mllvm flag -dwarf-use-key-instructions to determine whether or not to interpret Key Instructions metadata to decide is_stmt placement at DWARF emission time. This makes bitcode support simple and enables well defined mixing of non-key-instructions and key-instructions functions in an LTO context. This patch adds the bit (using DISubprogram::SubclassData1). PR 144104 and 144103 use it during DWARF emission. PR 44102 adds bitcode support. See pull request for overview of alternative attempts.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions