[llvm] [DebugInfo] Add DW_AT_artificial for compiler generated static member… (PR #116429)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 15 11:41:47 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-debuginfo
Author: Carlos Alberto Enciso (CarlosAlbertoEnciso)
<details>
<summary>Changes</summary>
…. (#<!-- -->116327)
Consider the case when the compiler generates a static member. Any consumer of the debug info generated for that case, would benefit if that member has the DW_AT_artificial flag.
Fix the syntax for 'REQUIRES', to include a regular expression.
---
Full diff: https://github.com/llvm/llvm-project/pull/116429.diff
1 Files Affected:
- (modified) llvm/test/DebugInfo/Generic/artificial-static-member.ll (+1-1)
``````````diff
diff --git a/llvm/test/DebugInfo/Generic/artificial-static-member.ll b/llvm/test/DebugInfo/Generic/artificial-static-member.ll
index 5c247d6959bf7b..47b7fa33b686f4 100644
--- a/llvm/test/DebugInfo/Generic/artificial-static-member.ll
+++ b/llvm/test/DebugInfo/Generic/artificial-static-member.ll
@@ -1,4 +1,4 @@
-; REQUIRES: x86_64-linux
+; REQUIRES: target={{x86_64-.*-linux}}
; RUN: llc -O0 -filetype=obj < %s | \
; RUN: llvm-dwarfdump --debug-info - | FileCheck %s
``````````
</details>
https://github.com/llvm/llvm-project/pull/116429
More information about the llvm-commits
mailing list