Project

General

Profile

Actions

Bug #3202

closed

prevent compiler function cloning

Added by Rich Lowe over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Category:
tools - gate/build tools
Start date:
2012-09-18
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

If the compiler clones functions during optimization, we can end up with functions being separated from their names, which makes debugging unnecessarily complicated.

We should disable optimizations which may induce cloning.

Actions #1

Updated by Joshua M. Clulow over 8 years ago

  • Status changed from New to In Progress
  • Assignee set to Joshua M. Clulow
  • % Done changed from 0 to 90
  • Tags deleted (needs-triage)
Actions #2

Updated by Joshua M. Clulow over 8 years ago

The symptom:

asgard # dtrace -lP fbt | grep T\\. | head 
  310        fbt            smbsrv                             T.171 entry
  311        fbt            smbsrv                             T.171 return
  326        fbt            smbsrv                              T.20 entry
  327        fbt            smbsrv                              T.20 return
  328        fbt            smbsrv                              T.21 entry
  329        fbt            smbsrv                              T.21 return
  475        fbt            smbsrv                              T.18 entry
  476        fbt            smbsrv                              T.18 return
  525        fbt            smbsrv                             T.113 entry
  526        fbt            smbsrv                             T.113 return
Actions #3

Updated by Robert Mustacchi over 8 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100

Resolved in 13819:f56bf3fb65f4.

Actions

Also available in: Atom PDF