cpp_vtable.cpp 527 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (c) 2015 Wind River Systems, Inc.
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. /*
  7. * @file
  8. * @brief Stub for C++ virtual tables
  9. */
  10. /**
  11. *
  12. * @brief basic virtual tables required for classes to build
  13. *
  14. */
  15. namespace __cxxabiv1 {
  16. class __class_type_info {
  17. virtual void dummy();
  18. };
  19. class __si_class_type_info {
  20. virtual void dummy();
  21. };
  22. void __class_type_info::dummy() { } // causes the vtable to get created here
  23. void __si_class_type_info::dummy() { } // causes the vtable to get created here
  24. };