aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorAbid Qadeer <haqadeer@amd.com>2025-09-17 18:16:36 +0100
committerGitHub <noreply@github.com>2025-09-17 18:16:36 +0100
commit453e4102bd32b892e7fda2aea3f3ef9e9b038580 (patch)
tree80b22e5c632f146094704a67c6c11722c7cafbf3 /clang/lib/CodeGen/CodeGenModule.h
parent9e3ec0e371e08eaf3a876072ea8ea4187d86e2e0 (diff)
downloadllvm-453e4102bd32b892e7fda2aea3f3ef9e9b038580.zip
llvm-453e4102bd32b892e7fda2aea3f3ef9e9b038580.tar.gz
llvm-453e4102bd32b892e7fda2aea3f3ef9e9b038580.tar.bz2
[flang] Lowering support for -gdwarf-N flag. (#159137)
This PR builds on the https://github.com/llvm/llvm-project/pull/158314 and adds the lowering support for `-gdwarf-N` flag. The changes to pass the information to `AddDebugInfo` pass are mostly mechanical. The `AddDebugInfo` pass adds `ModuleFlagsOp` in the module which gets translated to correct llvm metadata during mlir->llvmir translation. There is minor correction where the version is set to 0 in case no -debug-version flag is provided. Previously it was set to 2 in this case due to misreading of clang code.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions