Re: Shark + Intel compilers = no source view?
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,
_______________________________________________
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
--
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