mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
7ec130df24
During reviewing D102277 it was decided to remove lazy options processing from llvm-objcopy CopyConfig structure. This patch transforms processing of ELF lazy options into the in-place processing. Differential Revision: https://reviews.llvm.org/D103260
29 lines
864 B
C++
29 lines
864 B
C++
//===- ELFConfig.h ----------------------------------------------*- C++ -*-===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_TOOLS_LLVM_OBJCOPY_ELF_ELFCONFIG_H
|
|
#define LLVM_TOOLS_LLVM_OBJCOPY_ELF_ELFCONFIG_H
|
|
|
|
#include "llvm/ADT/Optional.h"
|
|
#include "llvm/ADT/StringRef.h"
|
|
#include "llvm/Object/ELFTypes.h"
|
|
#include <vector>
|
|
|
|
namespace llvm {
|
|
namespace objcopy {
|
|
|
|
// ELF specific configuration for copying/stripping a single file.
|
|
struct ELFConfig {
|
|
uint8_t NewSymbolVisibility = (uint8_t)ELF::STV_DEFAULT;
|
|
};
|
|
|
|
} // namespace objcopy
|
|
} // namespace llvm
|
|
|
|
#endif // LLVM_TOOLS_LLVM_OBJCOPY_ELF_ELFCONFIG_H
|