mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 02:25:19 +00:00
Temporarily XFAIL this test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66866 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -40,7 +40,7 @@ namespace llvm {
|
||||
/// not, the debug info is corrupt and we ignore it.
|
||||
DIDescriptor(GlobalVariable *GV, unsigned RequiredTag);
|
||||
|
||||
const std::string &getStringField(unsigned Elt, std::string &Result) const;
|
||||
const char *getStringField(unsigned Elt) const;
|
||||
unsigned getUnsignedField(unsigned Elt) const {
|
||||
return (unsigned)getUInt64Field(Elt);
|
||||
}
|
||||
@@ -106,14 +106,14 @@ namespace llvm {
|
||||
explicit DICompileUnit(GlobalVariable *GV = 0);
|
||||
|
||||
unsigned getLanguage() const { return getUnsignedField(2); }
|
||||
const std::string &getFilename(std::string &F) const {
|
||||
return getStringField(3, F);
|
||||
const char *getFilename() const {
|
||||
return getStringField(3);
|
||||
}
|
||||
const std::string &getDirectory(std::string &F) const {
|
||||
return getStringField(4, F);
|
||||
const char *getDirectory() const {
|
||||
return getStringField(4);
|
||||
}
|
||||
const std::string &getProducer(std::string &F) const {
|
||||
return getStringField(5, F);
|
||||
const char *getProducer() const {
|
||||
return getStringField(5);
|
||||
}
|
||||
|
||||
/// isMain - Each input file is encoded as a separate compile unit in LLVM
|
||||
@@ -127,9 +127,7 @@ namespace llvm {
|
||||
|
||||
bool isMain() const { return getUnsignedField(6); }
|
||||
bool isOptimized() const { return getUnsignedField(7); }
|
||||
const std::string &getFlags(std::string &F) const {
|
||||
return getStringField(8, F);
|
||||
}
|
||||
const char *getFlags() const { return getStringField(8); }
|
||||
unsigned getRunTimeVersion() const { return getUnsignedField(9); }
|
||||
|
||||
/// Verify - Verify that a compile unit is well formed.
|
||||
@@ -146,8 +144,8 @@ namespace llvm {
|
||||
public:
|
||||
explicit DIEnumerator(GlobalVariable *GV = 0);
|
||||
|
||||
const std::string &getName(std::string &F) const {
|
||||
return getStringField(1, F);
|
||||
const char *getName() const {
|
||||
return getStringField(1);
|
||||
}
|
||||
uint64_t getEnumValue() const { return getUInt64Field(2); }
|
||||
};
|
||||
@@ -192,9 +190,7 @@ namespace llvm {
|
||||
virtual ~DIType() {}
|
||||
|
||||
DIDescriptor getContext() const { return getDescriptorField(1); }
|
||||
const std::string &getName(std::string &F) const {
|
||||
return getStringField(2, F);
|
||||
}
|
||||
const char *getName() const { return getStringField(2); }
|
||||
DICompileUnit getCompileUnit() const{ return getFieldAs<DICompileUnit>(3); }
|
||||
unsigned getLineNumber() const { return getUnsignedField(4); }
|
||||
uint64_t getSizeInBits() const { return getUInt64Field(5); }
|
||||
@@ -276,14 +272,14 @@ namespace llvm {
|
||||
virtual ~DIGlobal() {}
|
||||
|
||||
DIDescriptor getContext() const { return getDescriptorField(2); }
|
||||
const std::string &getName(std::string &F) const {
|
||||
return getStringField(3, F);
|
||||
const char *getName() const {
|
||||
return getStringField(3);
|
||||
}
|
||||
const std::string &getDisplayName(std::string &F) const {
|
||||
return getStringField(4, F);
|
||||
const char *getDisplayName() const {
|
||||
return getStringField(4);
|
||||
}
|
||||
const std::string &getLinkageName(std::string &F) const {
|
||||
return getStringField(5, F);
|
||||
const char *getLinkageName() const {
|
||||
return getStringField(5);
|
||||
}
|
||||
DICompileUnit getCompileUnit() const{ return getFieldAs<DICompileUnit>(6); }
|
||||
unsigned getLineNumber() const { return getUnsignedField(7); }
|
||||
@@ -331,8 +327,8 @@ namespace llvm {
|
||||
explicit DIVariable(GlobalVariable *GV = 0);
|
||||
|
||||
DIDescriptor getContext() const { return getDescriptorField(1); }
|
||||
const std::string &getName(std::string &F) const {
|
||||
return getStringField(2, F);
|
||||
const char *getName() const {
|
||||
return getStringField(2);
|
||||
}
|
||||
DICompileUnit getCompileUnit() const{ return getFieldAs<DICompileUnit>(3); }
|
||||
unsigned getLineNumber() const { return getUnsignedField(4); }
|
||||
|
Reference in New Issue
Block a user