@@ -11,7 +11,7 @@ mod common;
11
11
fn read_ppc ( ) {
12
12
let diff_config = diff:: DiffObjConfig :: default ( ) ;
13
13
let obj =
14
- obj:: read:: parse ( include_object ! ( "data/ppc/IObj.o" ) , & diff_config, obj :: DiffSide :: Base )
14
+ obj:: read:: parse ( include_object ! ( "data/ppc/IObj.o" ) , & diff_config, diff :: DiffSide :: Base )
15
15
. unwrap ( ) ;
16
16
insta:: assert_debug_snapshot!( obj) ;
17
17
let symbol_idx =
@@ -29,7 +29,7 @@ fn read_dwarf1_line_info() {
29
29
let obj = obj:: read:: parse (
30
30
include_object ! ( "data/ppc/m_Do_hostIO.o" ) ,
31
31
& diff_config,
32
- obj :: DiffSide :: Base ,
32
+ diff :: DiffSide :: Base ,
33
33
)
34
34
. unwrap ( ) ;
35
35
let line_infos = obj
@@ -48,7 +48,7 @@ fn read_extab() {
48
48
let obj = obj:: read:: parse (
49
49
include_object ! ( "data/ppc/NMWException.o" ) ,
50
50
& diff_config,
51
- obj :: DiffSide :: Base ,
51
+ diff :: DiffSide :: Base ,
52
52
)
53
53
. unwrap ( ) ;
54
54
insta:: assert_debug_snapshot!( obj) ;
@@ -62,13 +62,13 @@ fn diff_ppc() {
62
62
let target_obj = obj:: read:: parse (
63
63
include_object ! ( "data/ppc/CDamageVulnerability_target.o" ) ,
64
64
& diff_config,
65
- obj :: DiffSide :: Target ,
65
+ diff :: DiffSide :: Target ,
66
66
)
67
67
. unwrap ( ) ;
68
68
let base_obj = obj:: read:: parse (
69
69
include_object ! ( "data/ppc/CDamageVulnerability_base.o" ) ,
70
70
& diff_config,
71
- obj :: DiffSide :: Base ,
71
+ diff :: DiffSide :: Base ,
72
72
)
73
73
. unwrap ( ) ;
74
74
let diff =
@@ -108,9 +108,12 @@ fn diff_ppc() {
108
108
#[ cfg( feature = "ppc" ) ]
109
109
fn read_vmx128_coff ( ) {
110
110
let diff_config = diff:: DiffObjConfig { combine_data_sections : true , ..Default :: default ( ) } ;
111
- let obj =
112
- obj:: read:: parse ( include_object ! ( "data/ppc/vmx128.obj" ) , & diff_config, obj:: DiffSide :: Base )
113
- . unwrap ( ) ;
111
+ let obj = obj:: read:: parse (
112
+ include_object ! ( "data/ppc/vmx128.obj" ) ,
113
+ & diff_config,
114
+ diff:: DiffSide :: Base ,
115
+ )
116
+ . unwrap ( ) ;
114
117
insta:: assert_debug_snapshot!( obj) ;
115
118
let symbol_idx =
116
119
obj. symbols . iter ( ) . position ( |s| s. name == "?FloatingPointExample@@YAXXZ" ) . unwrap ( ) ;
0 commit comments