
I don't know if this is possible, but maybe you could use -opta (or -optlc
or -optlo) to pass an appropriate option to the assembler (or LLVM
compiler). Or -optlm to pass something to the linker. GHC itself probably
doesn't support what you're trying to do, because obfuscating object code
has never been a development priority.
On Sat, Sep 18, 2021, 2:30 PM Caeeh
How can the names of functions from the generated executable be hidden/shrinked/erased? I tried with -O2 option in GHC, but it does not work. In the binary I found names that are present in the source code. I want to remove them. _______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.