diff options
author | Joseph Huber <huberjn@outlook.com> | 2025-03-06 20:43:42 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-06 20:43:42 -0600 |
commit | d5cef39d7411b3c48e5c2160f1e4711edc24dcd3 (patch) | |
tree | 5a0e9497d94b79e2d1a294741393efe59c266331 /llvm/lib/CodeGen/ModuloSchedule.cpp | |
parent | f5eeeec4d3f492a1d879a1b5cd8ae6befe786f77 (diff) | |
download | llvm-d5cef39d7411b3c48e5c2160f1e4711edc24dcd3.zip llvm-d5cef39d7411b3c48e5c2160f1e4711edc24dcd3.tar.gz llvm-d5cef39d7411b3c48e5c2160f1e4711edc24dcd3.tar.bz2 |
[Clang] Make '-Wglobal-constructors` work on the GNU attributes (#129917)
Summary:
The `-Wglobal-constructors` option is useful for restricting the usage
of global constructors / destructors. However, it currently ignores the
attributes that introduce global constructors, meaning that the module
can still have ctors if `-Werror` is set. If this is intentional by the
user, I believe it would be more correct to push the diagnostic.
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions