llvm-project
5f3f9d1a - [flang] Remove hardcoded bits from AddDebugInfo. (#89231)

Commit
2 years ago
[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.
Author
Parents
Loading