mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
b8236e532a
The ELF header e_flags field in the MIPS related test cases handled incorrectly. The obj2yaml prints too many flags. I will fix that in the next patches. The patch reviewed by Michael Spencer and Sean Silva. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208752 91177308-0d34-0410-b5e6-96231b3b80d8
26 lines
934 B
C++
26 lines
934 B
C++
//===------ utils/obj2yaml.hpp - obj2yaml conversion tool -------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
// This file declares some helper routines, and also the format-specific
|
|
// writers. To add a new format, add the declaration here, and, in a separate
|
|
// source file, implement it.
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_TOOLS_OBJ2YAML_H
|
|
#define LLVM_TOOLS_OBJ2YAML_H
|
|
|
|
#include "llvm/Object/COFF.h"
|
|
#include "llvm/Support/raw_ostream.h"
|
|
#include "llvm/Support/system_error.h"
|
|
|
|
llvm::error_code coff2yaml(llvm::raw_ostream &Out,
|
|
const llvm::object::COFFObjectFile &Obj);
|
|
llvm::error_code elf2yaml(llvm::raw_ostream &Out,
|
|
const llvm::object::ObjectFile &Obj);
|
|
|
|
#endif
|