mirror of
https://github.com/intel/llvm.git
synced 2026-02-07 07:39:11 +08:00
This PR builds on https://github.com/llvm/llvm-project/pull/160540 and allows us to set the `splitDebugFilename` field in `DICompileUnitAttr`. The changes are mostly mechanical. I saw some spurious white space in a test that I have cleaned up.
13 lines
294 B
Plaintext
13 lines
294 B
Plaintext
// RUN: fir-opt --add-debug-info="split-dwarf-file=test.dwo" \
|
|
// RUN: --mlir-print-debuginfo %s -o - | FileCheck %s
|
|
|
|
module {
|
|
func.func @test() {
|
|
return
|
|
} loc(#loc1)
|
|
}
|
|
#loc1 = loc("test.f90":15:1)
|
|
|
|
// CHECK: llvm.di_compile_unit
|
|
// CHECK-SAME: splitDebugFilename = "test.dwo"
|