Project

General

Profile

Bug #3202

prevent compiler function cloning

Added by Rich Lowe about 8 years ago. Updated about 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.

#1

Updated by Joshua M. Clulow about 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)
#2

Updated by Joshua M. Clulow about 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
#3

Updated by Robert Mustacchi about 8 years ago

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

Resolved in 13819:f56bf3fb65f4.

Also available in: Atom PDF