[all-commits] [llvm/llvm-project] 56a7fe: [GCDAProfiling] Suppress -Wprio-ctor-dtor for GCC>...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Mon Sep 7 10:33:36 PDT 2020
Branch: refs/heads/release/11.x
Home: https://github.com/llvm/llvm-project
Commit: 56a7fe31adbb352804e4d568ec8b65cdc749a83f
https://github.com/llvm/llvm-project/commit/56a7fe31adbb352804e4d568ec8b65cdc749a83f
Author: Fangrui Song <maskray at google.com>
Date: 2020-09-07 (Mon, 07 Sep 2020)
Changed paths:
M compiler-rt/lib/profile/GCDAProfiling.c
Log Message:
-----------
[GCDAProfiling] Suppress -Wprio-ctor-dtor for GCC>=9 and remove unused 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.
(cherry picked from commit 1cfde143e82aeb47cffba436ba7b5302d8e14193)
More information about the All-commits
mailing list