brintos

brintos / llvm-project-archived public Read only

0
0
Text · 918 B · 58ce4ab Raw
25 lines · c
1//===----------------------------------------------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8/// \file9/// Functions to emit LC_THREAD bytes to the corefile's Mach-O load commands,10/// specifying the threads, the register sets ("flavors") within those threads,11/// and all of the registers within those register sets.12//===----------------------------------------------------------------------===//13 14#ifndef YAML2MACHOCOREFILE_THREADWRITER_H15#define YAML2MACHOCOREFILE_THREADWRITER_H16 17#include "CoreSpec.h"18 19#include <vector>20 21void add_lc_threads(CoreSpec &spec,22                    std::vector<std::vector<uint8_t>> &load_commands);23 24#endif25