assert.cpp 861 B

1234567891011121314151617
  1. ///////////////////////////////////////////////////////////////////////////////
  2. // //
  3. // assert.cpp //
  4. // Copyright (C) Microsoft Corporation. All rights reserved. //
  5. // This file is distributed under the University of Illinois Open Source //
  6. // License. See LICENSE.TXT for details. //
  7. // //
  8. ///////////////////////////////////////////////////////////////////////////////
  9. #include "assert.h"
  10. #include "windows.h"
  11. void llvm_assert(_In_z_ const char *_Message,
  12. _In_z_ const char *_File,
  13. _In_ unsigned _Line) {
  14. RaiseException(STATUS_LLVM_ASSERT, 0, 0, 0);
  15. }