[llvm] [DebugInfo] Add DW_AT_artificial for compiler generated static member. (PR #116327)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 14 22:59:43 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-binary-utilities
Author: Carlos Alberto Enciso (CarlosAlbertoEnciso)
<details>
<summary>Changes</summary>
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 buildbot failure on: llvm-clang-aarch64-darwin
- Add specific configuration: x86_64-linux
---
Full diff: https://github.com/llvm/llvm-project/pull/116327.diff
1 Files Affected:
- (modified) llvm/test/DebugInfo/Generic/artificial-static-member.ll (+1)
``````````diff
diff --git a/llvm/test/DebugInfo/Generic/artificial-static-member.ll b/llvm/test/DebugInfo/Generic/artificial-static-member.ll
index 3263c976e39158..5c247d6959bf7b 100644
--- a/llvm/test/DebugInfo/Generic/artificial-static-member.ll
+++ b/llvm/test/DebugInfo/Generic/artificial-static-member.ll
@@ -1,3 +1,4 @@
+; REQUIRES: x86_64-linux
; RUN: llc -O0 -filetype=obj < %s | \
; RUN: llvm-dwarfdump --debug-info - | FileCheck %s
``````````
</details>
https://github.com/llvm/llvm-project/pull/116327
More information about the llvm-commits
mailing list