News for hackers. Stuff that matters.
Re:Best aspects of C by jcelerier on Tuesday November 17, 2020 @11:23AM (#25125559)
> The leading '_' before symbols isn't just a macOS thing

it definitely is - see e.g. https://github.com/llvm-mirror/lld/blob/master/lib/ReaderWri...

Re:Best aspects of C by flohofwoe on Tuesday November 17, 2020 @11:27AM (#25125621)
Oh ok, that must be an extra leading underscore then, haven't stumbled over this yet though.
Re:Best aspects of C by jcelerier on Tuesday November 17, 2020 @11:45AM (#25125871)
the only cases you stumble over it is if you're trying to do linking / symbol loading yourself manually (e.g. in my case it was because I was looking into JIT compilation mechanisms)