Click here to Skip to main content
15,125,968 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Probably for Brits only: The Voice of F1 has passed away. Pin
Jörgen Andersson14-Mar-21 11:21
professionalJörgen Andersson14-Mar-21 11:21 
GeneralRe: Probably for Brits only: The Voice of F1 has passed away. Pin
Cp-Coder14-Mar-21 16:58
MemberCp-Coder14-Mar-21 16:58 
GeneralRe: Probably for Brits only: The Voice of F1 has passed away. Pin
Jörgen Andersson16-Mar-21 2:20
professionalJörgen Andersson16-Mar-21 2:20 
QuestionRe: Probably for Brits only: The Voice of F1 has passed away. Pin
Eddy Vluggen13-Mar-21 13:15
professionalEddy Vluggen13-Mar-21 13:15 
AnswerRe: Probably for Brits only: The Voice of F1 has passed away. Pin
DerekT-P14-Mar-21 7:13
professionalDerekT-P14-Mar-21 7:13 
GeneralRe: Probably for Brits only: The Voice of F1 has passed away. Pin
jeron113-Mar-21 14:32
Memberjeron113-Mar-21 14:32 
GeneralRe: Probably for Brits only: The Voice of F1 has passed away. Pin
GuyThiebaut14-Mar-21 22:44
professionalGuyThiebaut14-Mar-21 22:44 
QuestionTool recommendation for analyzing GCC compiler output? for metaprogramming Pin
honey the codewitch13-Mar-21 7:57
mvahoney the codewitch13-Mar-21 7:57 
I'm doing a bunch of metaprogramming but I am targeting devices where the code space is limited, so I can't have a bunch of dead code in my final (ELF) binaries.

If I optimize, but keep symbols is there a tool out there any of you know of that will allow me to examine what of my "user code" (excluding the stdlibs, as long as I don't call them) gets generated? I don't care whether it needs to examine object files or not, that's fine.

Basically I'd like to look through an optimized binary (or the .o files it generated) to find out what the compiler didn't manage to optimize out in terms of leftover code from all the template witchcraft.

I know i can dump the assembly of the relevant .o file but i want something that cross references for me.

Thanks in advance.
Real programmers use butterflies

AnswerRe: Tool recommendation for analyzing GCC compiler output? for metaprogramming Pin
Mike Hankey13-Mar-21 9:43
professionalMike Hankey13-Mar-21 9:43 
GeneralRe: Tool recommendation for analyzing GCC compiler output? for metaprogramming Pin
honey the codewitch13-Mar-21 9:45
mvahoney the codewitch13-Mar-21 9:45 
GeneralRe: Tool recommendation for analyzing GCC compiler output? for metaprogramming Pin
Mike Hankey13-Mar-21 10:05
professionalMike Hankey13-Mar-21 10:05 
AnswerRe: Tool recommendation for analyzing GCC compiler output? for metaprogramming Pin
megaadam15-Mar-21 14:00
professionalmegaadam15-Mar-21 14:00 
JokeJOTD Pin
Mike Hankey13-Mar-21 1:44
professionalMike Hankey13-Mar-21 1:44 
GeneralRe: JOTD Pin
Richard Andrew x6413-Mar-21 7:59
professionalRichard Andrew x6413-Mar-21 7:59 
GeneralRe: JOTD Pin
Mike Hankey13-Mar-21 8:00
professionalMike Hankey13-Mar-21 8:00 
GeneralRe: JOTD Pin
Richard Deeming14-Mar-21 23:47
mveRichard Deeming14-Mar-21 23:47 
GeneralWho's afraid of a pixel? Pin
honey the codewitch13-Mar-21 0:02
mvahoney the codewitch13-Mar-21 0:02 
GeneralRe: Who's afraid of a pixel? Pin
Jörgen Andersson13-Mar-21 0:25
professionalJörgen Andersson13-Mar-21 0:25 
GeneralRe: Who's afraid of a pixel? Pin
honey the codewitch13-Mar-21 0:30
mvahoney the codewitch13-Mar-21 0:30 
GeneralRe: Who's afraid of a pixel? Pin
Jörgen Andersson13-Mar-21 2:33
professionalJörgen Andersson13-Mar-21 2:33 
GeneralRe: Who's afraid of a pixel? Pin
Sander Rossel13-Mar-21 2:07
professionalSander Rossel13-Mar-21 2:07 
GeneralRe: Who's afraid of a pixel? Pin
Eddy Vluggen13-Mar-21 13:38
professionalEddy Vluggen13-Mar-21 13:38 
GeneralIs Xamarin Forms Dead? Pin
Kevin Marois12-Mar-21 16:41
professionalKevin Marois12-Mar-21 16:41 
GeneralRe: Is Xamarin Forms Dead? Pin
markrlondon12-Mar-21 17:52
Membermarkrlondon12-Mar-21 17:52 
GeneralRe: Is Xamarin Forms Dead? Pin
markrlondon12-Mar-21 18:02
Membermarkrlondon12-Mar-21 18:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.