clang/test/DebugInfo/CXX/bpf-structors.cpp
raw| 1 | // RUN: %clang_cc1 -debug-info-kind=constructor -triple bpf -emit-llvm %s -o - | FileCheck %s |
| 2 | |
| 3 | class Foo { |
| 4 | public: |
| 5 | virtual ~Foo() noexcept; |
| 6 | }; |
| 7 | |
| 8 | class Bar : public Foo { |
| 9 | public: |
| 10 | Bar() noexcept {} |
| 11 | ~Bar() noexcept override; |
| 12 | }; |
| 13 | |
| 14 | // CHECK: declare !dbg !{{[0-9]+}} void @_ZN3FooD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) |