Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions API/hermes/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ if(HERMES_THREAD_SAFETY_ANALYSIS)
AsyncDebuggerAPI.cpp
${CDP_API_SOURCES}
)
if("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
if("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") # warning instead for struggle with std:mutex capabilities annotation
set_property(SOURCE ${TSA_SOURCES} APPEND_STRING PROPERTY
COMPILE_FLAGS "-Wthread-safety -Werror=thread-safety-analysis -Werror=thread-safety-precise -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS")
COMPILE_FLAGS "-Wthread-safety -Wthread-safety-analysis -Werror=thread-safety-precise -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS")
endif()
endif()

Expand Down
3 changes: 3 additions & 0 deletions API/hermes/cdp/DomainState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
* LICENSE file in the root directory of this source tree.
*/

#include <string>
#include <functional>
#include <iostream>
#include "DomainState.h"

#include <cassert>
Expand Down
5 changes: 3 additions & 2 deletions external/llvh/lib/Support/raw_ostream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -736,10 +736,11 @@ uint64_t raw_fd_ostream::seek(uint64_t off) {
flush();
#ifdef _WIN32
pos = ::_lseeki64(FD, off, SEEK_SET);
#elif defined(HAVE_LSEEK64)
# FIXME: https://reviews.llvm.org/D139752?id=484363
#elif defined(NOT_HAVE_LSEEK64)
pos = ::lseek64(FD, off, SEEK_SET);
#else
pos = ::lseek(FD, off, SEEK_SET);
pos = lseek(FD, off, SEEK_SET);
#endif
if (pos == (uint64_t)-1)
error_detected(std::error_code(errno, std::generic_category()));
Expand Down