[all-commits] [llvm/llvm-project] 1cfde1: [GCDAProfiling] Suppress -Wprio-ctor-dtor for GCC>...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Sep 2 12:22:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1cfde143e82aeb47cffba436ba7b5302d8e14193
      https://github.com/llvm/llvm-project/commit/1cfde143e82aeb47cffba436ba7b5302d8e14193
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-09-02 (Wed, 02 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.




More information about the All-commits mailing list