🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Johann 'Myrkraverk' Oskarsson Sat, 10 Oct 2026 21:58
Re: how to check easily if function was not inlined?
#148
Author: Johann 'Myrkraverk' Oskarsson
Date: Sat, 10 Oct 2026 21:58
21 lines
1906 bytes
On 10/5/2026 11:44 PM, fir wrote:
> best option maybe would be to have some guard which will guard me if 
> given function marked as inlined was not inlined?
> 
> is there something like that?

Not that I'm aware of.  MSVC has /forceinline/ as a keyword, and you
could use that -- if not for the fact you don't use Windows, I presume
-- and you've already seen the suggestion to check the ASM output.  I'll
go one step further, and say you can also just look at the disassembly
of the object file.

That one is sometimes easier, depending.


Best wishes, and happy forcing inlines.
-- 
Johann | email: invalid -> com | http://www.myrkraverk.com/blog/
I'm not from the Internet, I just work there. | via Easynews.com
https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:;
Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads