aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Object
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2011-10-17 23:55:06 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2011-10-17 23:55:06 +0000
commit206d17cf605293f1c12d8bfa8cf72826a29b253f (patch)
tree26c4f23c70160db482d564b5043fe1b9124fa3b6 /include/llvm/Object
parent9b2b812fea4df160437e7b7d56e38f6335189ad0 (diff)
downloadexternal_llvm-206d17cf605293f1c12d8bfa8cf72826a29b253f.zip
external_llvm-206d17cf605293f1c12d8bfa8cf72826a29b253f.tar.gz
external_llvm-206d17cf605293f1c12d8bfa8cf72826a29b253f.tar.bz2
Object: Add some types to SymbolRef::Type.
Some of these can be true at the same time and there are a lot to add, so this should be turned into a bitfield. Some of the other accessors should probably be folded into this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142318 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Object')
-rw-r--r--include/llvm/Object/ObjectFile.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Object/ObjectFile.h b/include/llvm/Object/ObjectFile.h
index 5581225..331ed7c 100644
--- a/include/llvm/Object/ObjectFile.h
+++ b/include/llvm/Object/ObjectFile.h
@@ -166,9 +166,11 @@ public:
}
enum Type {
- ST_Function,
ST_Data,
+ ST_Debug,
ST_External, // Defined in another object file
+ ST_File,
+ ST_Function,
ST_Other
};