<commit_before>// clang-format off
// REQUIRES: lld

// Test that we can display S_CONSTANT records.

// RUN: llvm-mc -filetype=obj %p/Inputs/s_constant.s > %t.obj
// RUN: lld-link /DEBUG /nodefaultlib /entry:main /OUT:%t.exe /PDB:%t.pdb -- %t.obj
// RUN: env LLDB_USE_NATIVE_PDB_READER=1 lldb -f %t.exe -s \
// RUN:     %p/Inputs/s_constant.lldbinit | FileCheck %s

// clang-cl cannot generate S_CONSTANT records, but we need to test that we can
// handle them for compatibility with MSVC, which does emit them.  This test
// case was generated by compiling this file with MSVC and copying the bytes
// that they emit for S_CONSTANT records.  Then we compile the same code with<commit_msg>Add missing triple from llvm-mc command line.<commit_after>// clang-format off
// REQUIRES: lld

// Test that we can display S_CONSTANT records.

// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-win32 %p/Inputs/s_constant.s > %t.obj
// RUN: lld-link /DEBUG /nodefaultlib /entry:main /OUT:%t.exe /PDB:%t.pdb -- %t.obj
// RUN: env LLDB_USE_NATIVE_PDB_READER=1 lldb -f %t.exe -s \
// RUN:     %p/Inputs/s_constant.lldbinit | FileCheck %s

// clang-cl cannot generate S_CONSTANT records, but we need to test that we can
// handle them for compatibility with MSVC, which does emit them.  This test
// case was generated by compiling this file with MSVC and copying the bytes
// that they emit for S_CONSTANT records.  Then we compile the same code with
{'fraction_non_alphanumeric': 0.11002785515320335, 'fraction_numerical': 0.005571030640668524, 'mean_word_length': 3.315315315315315, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6257098', 'n_tokens_mistral': 513, 'n_tokens_neox': 498, 'n_words': 182}