about summary refs log tree commit diff
path: root/src/test/debuginfo
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-01-01 16:41:29 +0000
committerbors <bors@rust-lang.org>2017-01-01 16:41:29 +0000
commit7b659cfdbce094a790dbb246da2681a47565782a (patch)
tree450f47d29d4c07efccd43c5f5ffc54a99e4bf46e /src/test/debuginfo
parentac5cd3bd43b9dbe681417e482065b24c08c544e8 (diff)
parent1765a3fd30b12e8647e79f9caf873c800df42bf9 (diff)
downloadrust-7b659cfdbce094a790dbb246da2681a47565782a.tar.gz
rust-7b659cfdbce094a790dbb246da2681a47565782a.zip
Auto merge of #38753 - philipc:debuginfo-union, r=petrochenkov
Add pretty printing of unions in debuggers

Fixes #37479
Diffstat (limited to 'src/test/debuginfo')
-rw-r--r--src/test/debuginfo/union-smoke.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/debuginfo/union-smoke.rs b/src/test/debuginfo/union-smoke.rs
index ada9e0b30cc..5d3fbd62023 100644
--- a/src/test/debuginfo/union-smoke.rs
+++ b/src/test/debuginfo/union-smoke.rs
@@ -9,7 +9,6 @@
 // except according to those terms.
 
 // min-lldb-version: 310
-// ignore-macos FIXME(#37479)
 
 // compile-flags:-g
 
@@ -27,9 +26,9 @@
 
 // lldb-command:run
 // lldb-command:print u
-// lldb-check:[...]$0 = { a = ('\x02', '\x02') b = 514 }
+// lldb-check:[...]$0 = U { a: ('\x02', '\x02'), b: 514 }
 // lldb-command:print union_smoke::SU
-// lldb-check:[...]$1 = 257
+// lldb-check:[...]$1 = U { a: ('\x01', '\x01'), b: 257 }
 
 #![allow(unused)]
 #![feature(omit_gdb_pretty_printer_section)]