• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Shark + Intel compilers = no source view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shark + Intel compilers = no source view?


  • Subject: Re: Shark + Intel compilers = no source view?
  • From: "Eric A. Borisch" <email@hidden>
  • Date: Mon, 29 Dec 2008 13:43:38 -0600

Rick,

I've found that by running 'dsymutil test' after the linking step, creating a .dSYM bundle, I get a source browser again in Shark. Some things are still off (I've had a few references to line #s past the end of a file) but it's a step in the right direction...

Any thoughts or suggestions on your end? (Or from others on the list?) It seems shark could do this step (or the equivalent) automatically?

Thanks,
 Eric

On Thu, Dec 18, 2008 at 5:30 PM, Rick Altherr <email@hidden> wrote:
This _should_ work.  What version of Shark are you using?  I will try to get a copy of ICC 11 to test.

Rick


On Dec 18, 2008, at 2:24 PM, Eric A. Borisch wrote:

Is there any way to get the source code view working in shark with Intel-compiled (icpc) code?

I've tried, for example,

test.cpp (A make-work for the CPU exercise...)
---
#include <iostream>

using namespace std;

int main(const int argc, const char * argv[])
{
uint64_t j = 1;
for (uint64_t i=0; i < 1E10; i++) j = j * 7;
cout << j << endl; // Don't care, but don't optimize me away!
}
---
Compiled via: icpc -o test.o test.cpp -g -O0 -debug full -c && icpc -o test test.o -g -debug full 

And then launched with shark for time profile; I get no source code browser, and I have to turn off callstack mining to get any results at all..

Any suggestions?

Compiler version:
Intel(R) C++ Compiler Professional for applications running on Intel(R) 64, Version 11.0    Build 20081105 Package ID: m_cproc_p_11.0.056
Copyright (C) 1985-2008 Intel Corporation.  All rights reserved.

Thanks,
 Eric
--
Eric A. Borisch
email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

--
Rick Altherr
Architecture and Performance Group
email@hidden





--
Eric A. Borisch
email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Shark + Intel compilers = no source view? (From: "Eric A. Borisch" <email@hidden>)
 >Re: Shark + Intel compilers = no source view? (From: Rick Altherr <email@hidden>)

  • Prev by Date: Apple-S no longer save in Interface Builder
  • Next by Date: Installation of Mac OS 7.5 on macmini machine
  • Previous by thread: Re: Shark + Intel compilers = no source view?
  • Next by thread: Error 0xE800003A
  • Index(es):
    • Date
    • Thread