[llvm-dev] Question on LTO -plugin-opt
Zakk via llvm-dev
llvm-dev at lists.llvm.org
Sat Nov 30 08:37:24 PST 2019
I saw there is no one target passes driver's `-mabi` option to LTO code
ex. pass driver option `-mabi=ooo` as `-plugin-opt=-target-abi=ooo` to LTO.
Does anyone know the reason for this?
I know there are some options are encoded in bitcode function attributes
(ex. `-target-feature`, `-Os`, `-Oz`),
but I didn't see `-mabi`, is it a good idea to pass `-mabi` vai option only
for specific target?
or maybe usually targets use `-triple` and `-mcpu` to decide `-mabi`?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev