[clang] [clang] Add support for omitting only global destructors (PR #104899)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 20 09:05:13 PDT 2024


================
@@ -0,0 +1,9 @@
+// RUN: %clang -### -c -fc++-static-destructors=all %s 2>&1 | FileCheck --check-prefix ALL %s
----------------
MaskRay wrote:

thx for adding a driver test. The previous `-fc++-static-destructors` patch  https://reviews.llvm.org/D50994 did not come with a driver test

https://github.com/llvm/llvm-project/pull/104899


More information about the cfe-commits mailing list