[clang] Diagnose problematic uses of constructor/destructor attribute (PR #67360)
Alexander Richardson via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 26 22:29:09 PDT 2023
arichardson wrote:
With regard to arguments: I know that the [FreeBSD runtime linker](https://github.com/freebsd/freebsd-src/blob/d06328c37bbcf3d3d3c7601372d29237996a6f6a/libexec/rtld-elf/aarch64/rtld_machdep.h#L59) (and according to https://stackoverflow.com/a/46331112 also glibc) passes argc, argv, envv to the constructor functions, so maybe that specific signature should be permitted?
https://github.com/llvm/llvm-project/pull/67360
More information about the cfe-commits
mailing list