Issue 165220
Summary DW_AT_const_value for char[]
Labels new issue
Assignees
Reporter kolrami
    When defining a structure like shown below, clang does not generate a DW_AT_const_value for the char array.

```
struct Test {
static inline constexpr char TEST[] = "Test String";
};
```

However, gcc generates the constant string (character array) into the DWARF into. It would be nice when clang would also do this.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to