mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
eliminate residual cruft related to recognizing bytecode
files. bitcode files are the only LLVM format left. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37945 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -51,8 +51,7 @@ class ArchiveMember {
|
||||
SVR4SymbolTableFlag = 2, ///< Member is a SVR4 symbol table
|
||||
BSD4SymbolTableFlag = 4, ///< Member is a BSD4 symbol table
|
||||
LLVMSymbolTableFlag = 8, ///< Member is an LLVM symbol table
|
||||
BytecodeFlag = 16, ///< Member is uncompressed bytecode
|
||||
CompressedBytecodeFlag = 32, ///< Member is compressed bytecode
|
||||
BitcodeFlag = 16, ///< Member is uncompressed bytecode
|
||||
HasPathFlag = 64, ///< Member has a full or partial path
|
||||
HasLongFilenameFlag = 128, ///< Member uses the long filename syntax
|
||||
StringTableFlag = 256 ///< Member is an ar(1) format string table
|
||||
@@ -112,7 +111,6 @@ class ArchiveMember {
|
||||
|
||||
/// This method determines if the member is a regular compressed file. Note
|
||||
/// that compressed bytecode files will yield "false" for this method.
|
||||
/// @see isCompressedBytecode()
|
||||
/// @returns true iff the archive member is a compressed regular file.
|
||||
/// @brief Determine if the member is a compressed regular file.
|
||||
bool isCompressed() const { return flags&CompressedFlag; }
|
||||
@@ -135,11 +133,7 @@ class ArchiveMember {
|
||||
|
||||
/// @returns true iff the archive member is an uncompressed bytecode file.
|
||||
/// @brief Determine if this member is a bytecode file.
|
||||
bool isBytecode() const { return flags&BytecodeFlag; }
|
||||
|
||||
/// @returns true iff the archive member is a compressed bytecode file.
|
||||
/// @brief Determine if the member is a compressed bytecode file.
|
||||
bool isCompressedBytecode() const { return flags&CompressedBytecodeFlag;}
|
||||
bool isBitcode() const { return flags&BitcodeFlag; }
|
||||
|
||||
/// @returns true iff the file name contains a path (directory) component.
|
||||
/// @brief Determine if the member has a path
|
||||
|
||||
@@ -306,13 +306,6 @@ namespace sys {
|
||||
/// @brief Determine if the path references an archive file.
|
||||
bool isArchive() const;
|
||||
|
||||
/// This function determines if the path name in the object references an
|
||||
/// LLVM Bytecode file by looking at its magic number.
|
||||
/// @returns true if the file starts with the magic number for LLVM
|
||||
/// bytecode files.
|
||||
/// @brief Determine if the path references a bytecode file.
|
||||
bool isBytecodeFile() const;
|
||||
|
||||
/// This function determines if the path name in the object references an
|
||||
/// LLVM Bitcode file by looking at its magic number.
|
||||
/// @returns true if the file starts with the magic number for LLVM
|
||||
@@ -621,9 +614,7 @@ namespace sys {
|
||||
/// This enumeration delineates the kinds of files that LLVM knows about.
|
||||
enum LLVMFileType {
|
||||
Unknown_FileType = 0, ///< Unrecognized file
|
||||
Bytecode_FileType, ///< Uncompressed bytecode file
|
||||
Bitcode_FileType, ///< Bitcode file
|
||||
CompressedBytecode_FileType, ///< Compressed bytecode file
|
||||
Archive_FileType, ///< ar style archive file
|
||||
ELF_Relocatable_FileType, ///< ELF Relocatable object file
|
||||
ELF_Executable_FileType, ///< ELF Executable image
|
||||
|
||||
Reference in New Issue
Block a user