summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/MachO/SimpleAtoms.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/lib/ReaderWriter/MachO/SimpleAtoms.hpp')
-rw-r--r--lld/lib/ReaderWriter/MachO/SimpleAtoms.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/MachO/SimpleAtoms.hpp b/lld/lib/ReaderWriter/MachO/SimpleAtoms.hpp
index 498793f4746..0db2e055afe 100644
--- a/lld/lib/ReaderWriter/MachO/SimpleAtoms.hpp
+++ b/lld/lib/ReaderWriter/MachO/SimpleAtoms.hpp
@@ -45,7 +45,7 @@ public:
_absoluteAtoms._atoms.push_back(abAtom);
}
else {
- assert(0 && "atom has unknown definition kind");
+ llvm_unreachable("atom has unknown definition kind");
}
}
OpenPOWER on IntegriCloud