summaryrefslogtreecommitdiff
path: root/include/llvm/Support/MachO.h
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2011-10-17 23:54:22 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2011-10-17 23:54:22 +0000
commitc38c36a8c44bd32bdfc2e48ab3e447f6dc1547bd (patch)
treeeba7a59ced4650d75a02fd34ec5f79877f57880e /include/llvm/Support/MachO.h
parent0e752cb4b4eb5676aace4d9f3d7c2e2334c13777 (diff)
downloadllvm-c38c36a8c44bd32bdfc2e48ab3e447f6dc1547bd.tar.gz
llvm-c38c36a8c44bd32bdfc2e48ab3e447f6dc1547bd.tar.bz2
llvm-c38c36a8c44bd32bdfc2e48ab3e447f6dc1547bd.tar.xz
Object: Add isSymbolWeak.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142316 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/MachO.h')
-rw-r--r--include/llvm/Support/MachO.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Support/MachO.h b/include/llvm/Support/MachO.h
index 5b6858613f..493491aab8 100644
--- a/include/llvm/Support/MachO.h
+++ b/include/llvm/Support/MachO.h
@@ -240,6 +240,9 @@ namespace llvm {
NListSectionNoSection = 0u, // NO_SECT
NListSectionMaxSection = 0xffu, // MAX_SECT
+ NListDescWeakRef = 0x40u,
+ NListDescWeakDef = 0x80u,
+
// Constant values for the "n_type" field in llvm::MachO::nlist and
// llvm::MachO::nlist_64 when "(n_type & NlistMaskStab) != 0"
StabGlobalSymbol = 0x20u, // N_GSYM