Switch Sparc to new section handling stuff. Refactor printing of module-level GVs significantly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54450 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anton Korobeynikov
2008-08-07 09:51:25 +00:00
parent 84e160e265
commit 5b794b98ce
4 changed files with 119 additions and 76 deletions

View File

@@ -15,17 +15,19 @@
#define SPARCTARGETASMINFO_H
#include "llvm/Target/TargetAsmInfo.h"
#include "llvm/Target/ELFTargetAsmInfo.h"
namespace llvm {
// Forward declaration.
class SparcTargetMachine;
class TargetMachine;
struct SparcTargetAsmInfo : public TargetAsmInfo {
explicit SparcTargetAsmInfo(const SparcTargetMachine &TM);
struct SparcELFTargetAsmInfo : public ELFTargetAsmInfo {
explicit SparcELFTargetAsmInfo(const TargetMachine &TM);
std::string PrintSectionFlags(unsigned flags) const;
};
} // namespace llvm
#endif