summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-04 06:29:49 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-04 06:29:49 +0000
commit6d211ab8ed05f805977ddc2f323b9be26dcaf446 (patch)
tree78ee8e277acba8d97706149f244c4038ee0e626d
parente7cc7c825b50bc03b89de3704b9a6789fdb0024c (diff)
downloadbcm5719-llvm-6d211ab8ed05f805977ddc2f323b9be26dcaf446.tar.gz
bcm5719-llvm-6d211ab8ed05f805977ddc2f323b9be26dcaf446.zip
For PR1302:
Make the FileType enumerators more readable and add COFF, ELF and Mach-O. llvm-svn: 35649
-rw-r--r--llvm/include/llvm/System/Path.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/llvm/include/llvm/System/Path.h b/llvm/include/llvm/System/Path.h
index 84e6942cd42..e2519853c91 100644
--- a/llvm/include/llvm/System/Path.h
+++ b/llvm/include/llvm/System/Path.h
@@ -536,10 +536,13 @@ namespace sys {
/// This enumeration delineates the kinds of files that LLVM knows about.
enum LLVMFileType {
- UnknownFileType = 0, ///< Unrecognized file
- BytecodeFileType = 1, ///< Uncompressed bytecode file
- CompressedBytecodeFileType = 2, ///< Compressed bytecode file
- ArchiveFileType = 3 ///< ar style archive file
+ Unknown_FileType = 0, ///< Unrecognized file
+ Bytecode_FileType = 1, ///< Uncompressed bytecode file
+ CompressedBytecode_FileType = 2, ///< Compressed bytecode file
+ Archive_FileType = 3, ///< ar style archive file
+ ELF_FileType = 4, ///< Native ELF object file or lib
+ Mach_O_FileType = 5, ///< Native Mach-O object file or lib
+ COFF_FileType = 6 ///< COFF object file or lib
};
/// This utility function allows any memory block to be examined in order
OpenPOWER on IntegriCloud