diff options
author | Andrzej Warzynski <andrzej.warzynski@arm.com> | 2022-04-06 11:59:28 +0000 |
---|---|---|
committer | Andrzej Warzynski <andrzej.warzynski@arm.com> | 2022-04-13 10:19:56 +0000 |
commit | dd56939a4b04072a449a05701373e95d00cc494f (patch) | |
tree | ed3e97c1cdf1e937e5a07eccaf1ac6bdcba9ab6d /lldb/packages/Python/lldbsuite/test | |
parent | 9d2350fd19f5a36fabd9b2c225af582b131ffce6 (diff) | |
download | llvm-dd56939a4b04072a449a05701373e95d00cc494f.zip llvm-dd56939a4b04072a449a05701373e95d00cc494f.tar.gz llvm-dd56939a4b04072a449a05701373e95d00cc494f.tar.bz2 |
[flang][driver] Add support for generating LLVM bytecode files
Support for generating LLVM BC files is added in Flang's compiler and
frontend drivers. This requires the `BitcodeWriterPass` pass to be run
on the input LLVM IR module and is implemented as a dedicated frontend
aciton. The new functionality as seen by the user (compiler driver):
```
flang-new -c -emit-llvm file.90
```
or (frontend driver):
```
flang-new -fc1 -emit-llvm-bc file.f90
```
The new behaviour is consistent with `clang` and `clang -cc1`.
Differential Revision: https://reviews.llvm.org/D123211
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions