Hi folks,
I was trying to find a way to enable -addrsig
for another compiler which uses LLVM as backend with no luck: the LLVM option parsing complain that it does not recognize -addrsig
. Then I went back to try clang -mllvm -addrsig
and surprisingly it gives back the same result:
clang (LLVM option parsing): Unknown command line argument '-addrsig'. Try: 'clang (LLVM option parsing) --help'
clang (LLVM option parsing): Did you mean '--version'?
I have a few questions:
-
Is it designed not to accept custom codegen options from command line? If not, is it possible to do so? Otherwise, support has to be done for other frontends (to make an
-faddrsig
-like driver option). -
Is it OK to enable
-addrsig
for other frontends by changing its default value for testing purpose, or special handling has to be done for different frontends?