aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-04-20 03:27:36 +0000
committerChris Lattner <sabre@nondot.org>2007-04-20 03:27:36 +0000
commit2e3ab5726de95f58146d727fb8b76787c28761f8 (patch)
treeaaa35069a35c3d5559fdae9cab3e0eabe7add238
parentae1998f32c83b9999f6f33b8553284f5ba3177d9 (diff)
Fix a very strange assertion message, patch by Christopher Lamb
CVS: ---------------------------------------------------------------------- git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36267 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Support/OutputBuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/OutputBuffer.h b/include/llvm/Support/OutputBuffer.h
index 6bbdd0b04e..9c6456a1ab 100644
--- a/include/llvm/Support/OutputBuffer.h
+++ b/include/llvm/Support/OutputBuffer.h
@@ -35,7 +35,7 @@ namespace llvm {
// aligned to the specified power of two boundary.
void align(unsigned Boundary) {
assert(Boundary && (Boundary & (Boundary - 1)) == 0 &&
- "Must alitypedef std::vector<unsigned char> DataBuffer;gn to 2^k boundary");
+ "Must align to 2^k boundary");
size_t Size = Output.size();
if (Size & (Boundary - 1)) {