summaryrefslogtreecommitdiffstats
path: root/lldb/test/Shell/ObjectFile/PECOFF
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-10-16 17:16:41 +0200
committerPavel Labath <pavel@labath.sk>2019-10-30 14:13:21 +0100
commitf1e0ae3420b6cd554a240274c5ec77ccc4392ad3 (patch)
treebdc7aee6058d838bfa23fda534b172a045825e7e /lldb/test/Shell/ObjectFile/PECOFF
parent532815dd5c54b9ee7d16cf4a437e82bab39c99ad (diff)
downloadbcm5719-llvm-f1e0ae3420b6cd554a240274c5ec77ccc4392ad3.tar.gz
bcm5719-llvm-f1e0ae3420b6cd554a240274c5ec77ccc4392ad3.zip
COFF: Set section permissions
Summary: This enables us to reason about whether a given address can be executable, for instance during unwinding. Reviewers: amccarth, mstorsjo Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D69102
Diffstat (limited to 'lldb/test/Shell/ObjectFile/PECOFF')
-rw-r--r--lldb/test/Shell/ObjectFile/PECOFF/sections.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/test/Shell/ObjectFile/PECOFF/sections.yaml b/lldb/test/Shell/ObjectFile/PECOFF/sections.yaml
index 715ef523c13..d41427eed0a 100644
--- a/lldb/test/Shell/ObjectFile/PECOFF/sections.yaml
+++ b/lldb/test/Shell/ObjectFile/PECOFF/sections.yaml
@@ -7,7 +7,7 @@
# CHECK-NEXT: ID: 0xffffffffffffffff
# CHECK-NEXT: Name: PECOFF header
# CHECK-NEXT: Type: regular
-# CHECK-NEXT: Permissions: ---
+# CHECK-NEXT: Permissions: r--
# CHECK-NEXT: Thread specific: no
# CHECK-NEXT: VM address: 0x40000000
# CHECK-NEXT: VM size: 512
@@ -17,7 +17,7 @@
# CHECK-NEXT: ID: 0x1
# CHECK-NEXT: Name: .text
# CHECK-NEXT: Type: code
-# CHECK-NEXT: Permissions: ---
+# CHECK-NEXT: Permissions: r-x
# CHECK-NEXT: Thread specific: no
# CHECK-NEXT: VM address: 0x40001000
# CHECK-NEXT: VM size: 64
@@ -27,7 +27,7 @@
# CHECK-NEXT: ID: 0x2
# CHECK-NEXT: Name: .data
# CHECK-NEXT: Type: data
-# CHECK-NEXT: Permissions: ---
+# CHECK-NEXT: Permissions: r--
# CHECK-NEXT: Thread specific: no
# CHECK-NEXT: VM address: 0x40002000
# CHECK-NEXT: VM size: 64
OpenPOWER on IntegriCloud