|
@@ -273,7 +273,7 @@ func newMapping(prof *profile.Profile, obj plugin.ObjTool, ui plugin.UI, force b
|
273
|
273
|
}
|
274
|
274
|
|
275
|
275
|
missingBinaries := false
|
276
|
|
- for mix, m := range prof.Mapping {
|
|
276
|
+ for midx, m := range prof.Mapping {
|
277
|
277
|
if !mappings[m] {
|
278
|
278
|
continue
|
279
|
279
|
}
|
|
@@ -284,7 +284,7 @@ func newMapping(prof *profile.Profile, obj plugin.ObjTool, ui plugin.UI, force b
|
284
|
284
|
}
|
285
|
285
|
|
286
|
286
|
if m.File == "" {
|
287
|
|
- if mix == 0 {
|
|
287
|
+ if midx == 0 {
|
288
|
288
|
ui.PrintErr("Main binary filename not available.\n" +
|
289
|
289
|
"Try passing the path to the main binary before the profile.")
|
290
|
290
|
continue
|