libllvm.cpp 709 B

1234567891011121314151617181920
  1. //===-libllvm.cpp - LLVM Shared Library -----------------------------------===//
  2. //
  3. // The LLVM Compiler Infrastructure
  4. //
  5. // This file is distributed under the University of Illinois Open Source
  6. // License. See LICENSE.TXT for details.
  7. //
  8. //===----------------------------------------------------------------------===//
  9. //
  10. // This file is empty and serves only the purpose of making CMake happy because
  11. // you can't define a target with no sources.
  12. //
  13. //===----------------------------------------------------------------------===//
  14. #include "llvm/Config/config.h"
  15. #if defined(DISABLE_LLVM_DYLIB_ATEXIT)
  16. extern "C" int __cxa_atexit();
  17. extern "C" int __cxa_atexit() { return 0; }
  18. #endif