Skip to content

Commit 328352b

Browse files
committed
remove handling of -gheterogenousdwarf flag
1 parent 6a4c0e4 commit 328352b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

amd/comgr/src/comgr-compiler.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1924,7 +1924,6 @@ static inline const std::unordered_set<std::string_view> ValidSpirvFlags{
19241924
"-freciprocal-math",
19251925
"-funsafe-math-optimizations",
19261926
"-fvisibility=hidden",
1927-
"-gheterogeneous-dwarf=diexpression",
19281927
"-O0",
19291928
"-O1",
19301929
"-O2",

amd/comgr/test-lit/spirv-to-reloc-debuginfo.hip

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// XFAIL: *
21
// REQUIRES: comgr-has-spirv
32

43
// COM: Generate a debuginfo SPIR-V file from a HIP kernel
@@ -11,7 +10,7 @@
1110
// RUN: -check-prefix=CHECK-DBG %s
1211

1312
// COM: Check that debuginfo SPIR-V flags are correctly extracted
14-
// CHECK-DBG: Driver Job Args: {{.*}} "-gheterogeneous-dwarf=diexpression" "-mllvm -amdgpu-spill-cfi-saved-regs"
13+
// CHECK-DBG: Driver Job Args: {{.*}} "-mllvm -amdgpu-spill-cfi-saved-regs"
1514

1615
#include <cstdlib>
1716

0 commit comments

Comments
 (0)