- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello there, I'm just starting to use Intel C++ Compiler (v10) with VC++ 2003 and I've hit my first problem.
For one of my source files I've set the option to produce assembly output (I do this via the project settings but its the /FA and /Fa settings). The problem I am having is that the source C++ is only included for a little of the output. Specifically it just has source for an included string class (wxString) but not the class I'm actually interested in.
I've tried the various /FA settings but they all produce the same output. Although I can find a particular function in the code its hard to work out what assembly goes with what c++ source since it isn't listed.
Any ideas?
Thanks, Joe
For one of my source files I've set the option to produce assembly output (I do this via the project settings but its the /FA and /Fa settings). The problem I am having is that the source C++ is only included for a little of the output. Specifically it just has source for an included string class (wxString) but not the class I'm actually interested in.
I've tried the various /FA settings but they all produce the same output. Although I can find a particular function in the code its hard to work out what assembly goes with what c++ source since it isn't listed.
Any ideas?
Thanks, Joe
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The source line numbers in the .asm file produced by ICL are a better guide than the interleaved source facility of other compilers. You may have to compile from pre-processed source, then use the source line references in the pre-processed source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Tim.
I've now found the pre-processed source output (/P) in VC but unfortunately the line numbers don't tally (not even close - the pre-processed file is massive). Is there anyway to synchronise the line numbers?
Thanks, Joe
I've now found the pre-processed source output (/P) in VC but unfortunately the line numbers don't tally (not even close - the pre-processed file is massive). Is there anyway to synchronise the line numbers?
Thanks, Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That's why I suggested compiling the pre-processed source, with the aim of getting asm line numbers to match the pre-processed rather than the original source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh I see what your saying - thanks (I was generating the pre-processed code but not compiling from it).
Its a bit fiddly but if that's the only way then ok. Has anyone got a more integrated approach?
Thanks, Joe
Its a bit fiddly but if that's the only way then ok. Has anyone got a more integrated approach?
Thanks, Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm an idiot. I was looking at the wrong line numbers.
I thought I should be looking at those $LNxxxx entries but the line numbers were actually on the right hand side, along side the code. It marries up perfectly with the unpre-processed source so that's great.
Cheers, Joe
I thought I should be looking at those $LNxxxx entries but the line numbers were actually on the right hand side, along side the code. It marries up perfectly with the unpre-processed source so that's great.
Cheers, Joe
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page