Click here to Skip to main content
15,881,898 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 10:21
professionalJörgen Andersson14-Mar-21 10:21 
GeneralRe: Probably for Brits only: The Voice of F1 has passed away. Pin
Cp-Coder14-Mar-21 15:58
Cp-Coder14-Mar-21 15:58 
GeneralRe: Probably for Brits only: The Voice of F1 has passed away. Pin
Jörgen Andersson16-Mar-21 1:20
professionalJörgen Andersson16-Mar-21 1:20 
QuestionRe: Probably for Brits only: The Voice of F1 has passed away. Pin
Eddy Vluggen13-Mar-21 12:15
professionalEddy Vluggen13-Mar-21 12:15 
AnswerRe: Probably for Brits only: The Voice of F1 has passed away. Pin
DerekT-P14-Mar-21 6:13
professionalDerekT-P14-Mar-21 6:13 
GeneralRe: Probably for Brits only: The Voice of F1 has passed away. Pin
jeron113-Mar-21 13:32
jeron113-Mar-21 13:32 
GeneralRe: Probably for Brits only: The Voice of F1 has passed away. Pin
GuyThiebaut14-Mar-21 21:44
professionalGuyThiebaut14-Mar-21 21:44 
QuestionTool recommendation for analyzing GCC compiler output? for metaprogramming Pin
honey the codewitch13-Mar-21 6:57
mvahoney the codewitch13-Mar-21 6: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 8:43
mveMike Hankey13-Mar-21 8:43 
GeneralRe: Tool recommendation for analyzing GCC compiler output? for metaprogramming Pin
honey the codewitch13-Mar-21 8:45
mvahoney the codewitch13-Mar-21 8:45 
GeneralRe: Tool recommendation for analyzing GCC compiler output? for metaprogramming Pin
Mike Hankey13-Mar-21 9:05
mveMike Hankey13-Mar-21 9:05 
AnswerRe: Tool recommendation for analyzing GCC compiler output? for metaprogramming Pin
megaadam15-Mar-21 13:00
professionalmegaadam15-Mar-21 13:00 
JokeJOTD Pin
Mike Hankey13-Mar-21 0:44
mveMike Hankey13-Mar-21 0:44 
GeneralRe: JOTD Pin
Richard Andrew x6413-Mar-21 6:59
professionalRichard Andrew x6413-Mar-21 6:59 
GeneralRe: JOTD Pin
Mike Hankey13-Mar-21 7:00
mveMike Hankey13-Mar-21 7:00 
GeneralRe: JOTD Pin
Richard Deeming14-Mar-21 22:47
mveRichard Deeming14-Mar-21 22:47 
GeneralWho's afraid of a pixel? Pin
honey the codewitch12-Mar-21 23:02
mvahoney the codewitch12-Mar-21 23:02 
GeneralRe: Who's afraid of a pixel? Pin
Jörgen Andersson12-Mar-21 23:25
professionalJörgen Andersson12-Mar-21 23:25 
GeneralRe: Who's afraid of a pixel? Pin
honey the codewitch12-Mar-21 23:30
mvahoney the codewitch12-Mar-21 23:30 
GeneralRe: Who's afraid of a pixel? Pin
Jörgen Andersson13-Mar-21 1:33
professionalJörgen Andersson13-Mar-21 1:33 
GeneralRe: Who's afraid of a pixel? Pin
Sander Rossel13-Mar-21 1:07
professionalSander Rossel13-Mar-21 1:07 
GeneralRe: Who's afraid of a pixel? Pin
Eddy Vluggen13-Mar-21 12:38
professionalEddy Vluggen13-Mar-21 12:38 
GeneralIs Xamarin Forms Dead? Pin
Kevin Marois12-Mar-21 15:41
professionalKevin Marois12-Mar-21 15:41 
GeneralRe: Is Xamarin Forms Dead? Pin
markrlondon12-Mar-21 16:52
markrlondon12-Mar-21 16:52 
GeneralRe: Is Xamarin Forms Dead? Pin
markrlondon12-Mar-21 17:02
markrlondon12-Mar-21 17: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.