Commit c0fc58a
committed
[GCDAProfiling] Suppress -Wprio-ctor-dtor for GCC>=9 and remove unuse…
…d write_string/length_of_string
The `__attribute__((destructor(100)))` diagnostic does not have a
warning option in GCC 8 (before r264853) and thus cannot be suppressed.
--
ported from llvm/llvm-project fix:
llvm@1cfde14
https://bugs.llvm.org/show_bug.cgi?id=47399
(Fixes problem behind rust-lang/rust#76224)1 parent 4d40ae5 commit c0fc58a
1 file changed
+3
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | 213 | | |
230 | 214 | | |
231 | 215 | | |
| |||
632 | 616 | | |
633 | 617 | | |
634 | 618 | | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
635 | 622 | | |
636 | 623 | | |
637 | 624 | | |
| |||
0 commit comments