Invert the MC -> Object dependency.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 3 Jul 2014 02:01:39 +0000 (02:01 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 3 Jul 2014 02:01:39 +0000 (02:01 +0000)
commit97de474a36c4df5f9de603c1d6ae2f3e0b268cf4
treec3d8590271a568a3c79c32bada8dd98fa2491993
parentb6e8ce82509e9ba93238a6eb90fed2007db1bc76
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.

llvm-svn: 212248
22 files changed:
llvm/include/llvm/MC/StringTableBuilder.h [moved from llvm/include/llvm/Object/StringTableBuilder.h with 94% similarity]
llvm/include/llvm/MC/YAML.h [moved from llvm/include/llvm/Object/YAML.h with 77% similarity]
llvm/include/llvm/Object/COFFYAML.h
llvm/include/llvm/Object/ELFYAML.h
llvm/lib/MC/CMakeLists.txt
llvm/lib/MC/ELFObjectWriter.cpp
llvm/lib/MC/LLVMBuild.txt
llvm/lib/MC/MCAnalysis/MCModuleYAML.cpp
llvm/lib/MC/StringTableBuilder.cpp [moved from llvm/lib/Object/StringTableBuilder.cpp with 96% similarity]
llvm/lib/MC/YAML.cpp [moved from llvm/lib/Object/YAML.cpp with 78% similarity]
llvm/lib/Object/CMakeLists.txt
llvm/lib/Object/LLVMBuild.txt
llvm/tools/obj2yaml/coff2yaml.cpp
llvm/tools/obj2yaml/elf2yaml.cpp
llvm/tools/yaml2obj/yaml2elf.cpp
llvm/unittests/CMakeLists.txt
llvm/unittests/MC/CMakeLists.txt
llvm/unittests/MC/StringTableBuilderTest.cpp [moved from llvm/unittests/Object/StringTableBuilderTest.cpp with 95% similarity]
llvm/unittests/MC/YAMLTest.cpp [moved from llvm/unittests/Object/YAMLTest.cpp with 93% similarity]
llvm/unittests/Makefile
llvm/unittests/Object/CMakeLists.txt [deleted file]
llvm/unittests/Object/Makefile [deleted file]