<commit_before>cmake_minimum_required(VERSION 2.6)
project (pstack)
add_executable(pstack dead.cc dump.cc dwarf.cc elf.cc live.cc process.cc proc_service.cc pstack.cc reader.cc )

if(NOT ELF_BITS)
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
  SET(ELF_BITS 64)  
endif(CMAKE_SIZEOF_VOID_P EQUAL 8)
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
  SET(ELF_BITS 32)  
endif(CMAKE_SIZEOF_VOID_P EQUAL 4)
endif(NOT ELF_BITS)

if(CMAKE_COMPILER_IS_GNUCXX)
    add_definitions("-std=c++0x")
endif(CMAKE_COMPILER_IS_GNUCXX)

add_definitions("-DELF_BITS=${ELF_BITS}")

if("${CMAKE_SYSTEM}" MATCHES "Linux")
    target_link_libraries(pstack "-lthread_db")
endif("${CMAKE_SYSTEM}" MATCHES "Linux")<commit_msg>Add debug program to standard build.<commit_after>cmake_minimum_required(VERSION 2.6)
project (pstack)
add_executable(pstack dead.cc dump.cc dwarf.cc elf.cc live.cc process.cc proc_service.cc pstack.cc reader.cc )
add_executable(t t.cc)

if(NOT ELF_BITS)
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
  SET(ELF_BITS 64)  
endif(CMAKE_SIZEOF_VOID_P EQUAL 8)
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
  SET(ELF_BITS 32)  
endif(CMAKE_SIZEOF_VOID_P EQUAL 4)
endif(NOT ELF_BITS)

if(CMAKE_COMPILER_IS_GNUCXX)
    add_definitions("-std=c++0x")
endif(CMAKE_COMPILER_IS_GNUCXX)

add_definitions("-DELF_BITS=${ELF_BITS}")

if("${CMAKE_SYSTEM}" MATCHES "Linux")
    target_link_libraries(pstack "-lthread_db")
    target_link_libraries(t "-lpthread")
endif("${CMAKE_SYSTEM}" MATCHES "Linux")
{'fraction_non_alphanumeric': 0.11686494051784464, 'fraction_numerical': 0.015395381385584325, 'mean_word_length': 7.171428571428572, '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': '566052', 'n_tokens_mistral': 667, 'n_tokens_neox': 604, 'n_words': 100}