What is clang's equivalent to -rdynamic gcc flag?

后端 未结 3 1235
时光说笑
时光说笑 2021-01-05 10:03

I can\'t find any similar option that would include all the function names into the final release binary. Or does clang do it by default?

3条回答
  •  爱一瞬间的悲伤
    2021-01-05 10:52

    My Google-fu is telling me you can replace that by

    -Wl,--export-dynamic
    

    Which is what GCC usually passes to the linker when it is passed -rdynamic. I would first try it without anything, and see if the flag was necessary.

提交回复
热议问题