Comparing GCC and Clang security features
Comparing GCC and Clang security features
Posted Sep 17, 2019 2:48 UTC (Tue) by roc (subscriber, #30627)In reply to: Comparing GCC and Clang security features by alonz
Parent article: Comparing GCC and Clang security features
Posted Sep 17, 2019 13:10 UTC (Tue)
by foom (subscriber, #14868)
[Link]
Additionally, if you're ok using a compiler extension, Clang has an attribute that can be used to force trivial abi, if you do have a type which can be passed in registers despite having non-trivial constructors/destructors: https://clang.llvm.org/docs/AttributeReference.html#trivi...
Comparing GCC and Clang security features