Re: why is sim_addr_range_hit_p tagged inline?

Mike Frysinger <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On 14 Nov 2014 15:16, DJ Delorie wrote:
> > Unless HAVE_INLINE is defined.
> 
> Ah, ick.  I noticed this because I had a report from a Mac user that
> they were getting "multiply defined symbols" for that function.

the sim code base heavily inlines things for the sake of speed.  but i'm not 
sure what kind of perf difference it makes nowadays on modern systems.  would be 
worth seeing if we could just drop it all ...
-mike
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJUZwFqAAoJEEFjO5/oN/WBL1YP/0dzx+4YuZUfUfinnAhojoiO
qqjJoLEFgBAEURCc+aTw7E+IyWBhEtLSvTGa2NjuA/BtljSeLdzc8Gg4eAbuO4t+
qrPnx3rBDpqRf3WruhkYmlS/77NZxxK/YJ6jyf3oQHkZ3nExoWHPECbxevAc4Y5w
QHfa6bXH0S07YxoBQT+vZOs9kWYY1bRH6UDOaAHNRxO2U3knFVfVsLRx5wLePnAO
yJ8v8J50Bi5gdHKVYdtefreTj7JI0HpC1CnfJ0e0KVlflL58UC9rVVxhK5/SQk3d
fqGyEYLmOv0Yaebj9Q0aD6p+7bCj1DjnDxeMxNm2F2laFNgwDOuld6ExIB23LY1y
VAPaRUgcTp1j4MlVmtw0mKCl8N9ddlSAVfSDxGjcc+ARHaiyTcSxxAEiKL2b0kHC
hmHokw2Db6ZTrKXcpmFtwLp5onHuzk7IuwQemWmXMhXhgqB/QVN+RZAytvZ90dGV
54N9syDZTmy4ZI32P5czDjVyygn9whTLZAeO4pDgVybh4FSToGMbpWZ7uOWwi6CN
a1I7YERK/EgEGlD0xMVaIaESEK4kaDdrBNLrP9n/cwuXKvgoYOfzW7wPuYkV0mNe
ZNbK3AD4TQk5drQ0h2t4Mr4lDIH2GI/9q3dkWjTViZ7Ixa+dYXgLx4vhEH5xMSZO
62LRYfq31E62hsZJ6dXg
=Swby
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.