diff options
author | Abid Qadeer <haqadeer@amd.com> | 2024-04-23 19:11:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-23 19:11:43 +0100 |
commit | 5f3f9d1a905b1f293d81758db3fa20c2a1dc3ff4 (patch) | |
tree | f295634fec7582387934cfd02b2a2bc7425ba482 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 5fe93b0a4d91f1beb801e3a7588e1fa43955af15 (diff) | |
download | llvm-5f3f9d1a905b1f293d81758db3fa20c2a1dc3ff4.zip llvm-5f3f9d1a905b1f293d81758db3fa20c2a1dc3ff4.tar.gz llvm-5f3f9d1a905b1f293d81758db3fa20c2a1dc3ff4.tar.bz2 |
[flang] Remove hardcoded bits from AddDebugInfo. (#89231)
This PR adds following options to the AddDebugInfo pass.
1. IsOptimized flag.
2. Level of debug info to generate.
3. Name of the source file
This enables us to remove the hard coded values from the code. It also
allows us to test the pass with different options. The tests have been
modified to take advantage of that.
The calling convention flag and producer name have also been improved.
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions