<commit_before># Disable implicit-fallthrough, if used.
append_if(CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG "-Wno-implicit-fallthrough" CMAKE_CXX_FLAGS)

add_llbuild_library(llvmSupport
Allocator.cpp
Atomic.cpp
ConvertUTF.c
ConvertUTFWrapper.cpp
Debug.cpp
Errno.cpp
ErrorHandling.cpp
FileUtilities.cpp
Hashing.cpp
IntrusiveRefCntPtr.cpp
Locale.cpp
ManagedStatic.cpp
MathExtras.cpp
Memory.cpp
MemoryBuffer.cpp
Mutex.cpp
Path.cpp
Process.cpp
Program.cpp
Signals.cpp
SmallPtrSet.cpp
SmallVector.cpp
SourceMgr.cpp
StringExtras.cpp
StringMap.cpp
StringRef.cpp
Threading.cpp
TimeValue.cpp
Twine.cpp
Unicode.cpp
Valgrind.cpp
YAMLParser.cpp
circular_raw_ostream.cpp
raw_ostream.cpp
)<commit_msg>[portability] On Linux, link against libpthread and libdl.<commit_after># Disable implicit-fallthrough, if used.
append_if(CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG "-Wno-implicit-fallthrough" CMAKE_CXX_FLAGS)

add_llbuild_library(llvmSupport
Allocator.cpp
Atomic.cpp
ConvertUTF.c
ConvertUTFWrapper.cpp
Debug.cpp
Errno.cpp
ErrorHandling.cpp
FileUtilities.cpp
Hashing.cpp
IntrusiveRefCntPtr.cpp
Locale.cpp
ManagedStatic.cpp
MathExtras.cpp
Memory.cpp
MemoryBuffer.cpp
Mutex.cpp
Path.cpp
Process.cpp
Program.cpp
Signals.cpp
SmallPtrSet.cpp
SmallVector.cpp
SourceMgr.cpp
StringExtras.cpp
StringMap.cpp
StringRef.cpp
Threading.cpp
TimeValue.cpp
Twine.cpp
Unicode.cpp
Valgrind.cpp
YAMLParser.cpp
circular_raw_ostream.cpp
raw_ostream.cpp
)

if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
  target_link_libraries(llvmSupport pthread dl)
endif()
{'fraction_non_alphanumeric': 0.07610853739245532, 'fraction_numerical': 0.0, 'mean_word_length': 7.172972972972973, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5808148', 'n_tokens_mistral': 561, 'n_tokens_neox': 558, 'n_words': 100}