mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Invert the MC -> Object dependency.
Now that we have a lib/MC/MCAnalysis, the dependency was there just because of two helper classes. Move the two over to MC. This will allow IRObjectFile to parse inline assembly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212248 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
#ifndef LLVM_OBJECT_ELFYAML_H
|
||||
#define LLVM_OBJECT_ELFYAML_H
|
||||
|
||||
#include "llvm/Object/YAML.h"
|
||||
#include "llvm/MC/YAML.h"
|
||||
#include "llvm/Support/ELF.h"
|
||||
|
||||
namespace llvm {
|
||||
@@ -83,7 +83,7 @@ struct Section {
|
||||
virtual ~Section();
|
||||
};
|
||||
struct RawContentSection : Section {
|
||||
object::yaml::BinaryRef Content;
|
||||
yaml::BinaryRef Content;
|
||||
llvm::yaml::Hex64 Size;
|
||||
RawContentSection() : Section(SectionKind::RawContent) {}
|
||||
static bool classof(const Section *S) {
|
||||
|
||||
Reference in New Issue
Block a user