Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Selective Code Coverage on a large executable: (1 Item)
   
Selective Code Coverage on a large executable  
I have a very large executable targeting ppc-be using the 6.5.0 toolchain.  I would like to perform code coverage 
analysis of this executable, but when I enable this, I get relocation errors due to the size of the executable, similar 
to this...


crtstuff.c:(.text+0x8): relocation truncated to fit: R_PPC_LOCAL24PC against symbol `_GLOBAL_OFFSET_TABLE_' defined in .
got section in /opt/qnx650/target/qnx6/ppcbe/lib/crti.o+fffffffc


Is it possible to enable/instrument code coverage on selected compilation units (.c/.cpp files) instead of the entire 
executable?  If so how would I do this?

Thanks!
--Chip Bagwell