[llvm] [llvm-objdump] Remove leading whitespace for PT_GNU_PROPERTY. (PR #121591)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 9 03:49:34 PST 2025


================
@@ -2,7 +2,7 @@
 # RUN: llvm-objdump -p %t | FileCheck %s
 
 # CHECK: Program Header:
-# CHECK-NEXT: {{ }}PROPERTY{{ }}
+# CHECK-NEXT: PROPERTY{{ }}
----------------
jh7370 wrote:

Perhaps better would be to include a start of line marker?
```suggestion
# CHECK-NEXT: {{^}}PROPERTY{{ }}
```

https://github.com/llvm/llvm-project/pull/121591


More information about the llvm-commits mailing list