[all-commits] [llvm/llvm-project] 8b0bd5: [sanitizer][Darwin] Suppress -Wno-non-virtual-dtor...

Julian Lettner via All-commits all-commits at lists.llvm.org
Tue Jan 5 17:11:20 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b0bd54d0ec968df28ccc58bbb537a7b7c074ef2
      https://github.com/llvm/llvm-project/commit/8b0bd54d0ec968df28ccc58bbb537a7b7c074ef2
  Author: Julian Lettner <julian.lettner at apple.com>
  Date:   2021-01-05 (Tue, 05 Jan 2021)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_interceptors_mac.cpp

  Log Message:
  -----------
  [sanitizer][Darwin] Suppress -Wno-non-virtual-dtor warning

Suppress the warning:
```
'fake_shared_weak_count' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
```

The warning has been recently enabled [1], but the associated cleanup
missed this instance in Darwin code [2].

[1] 9c31e12609e1935eb84a2497ac08a49e3139859a
[2] d48f2d7c02743571075bb7812bb4c9e634e51ed1

Differential Revision: https://reviews.llvm.org/D94139




More information about the All-commits mailing list