Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(980)

Unified Diff: lib/CodeGen/MicrosoftCXXABI.cpp

Issue 5882057: Override ReadArrayCookie in MicrosoftCXXABI and explicitly mark it unimplemented Base URL: http://llvm.org/svn/llvm-project/cfe/trunk/
Patch Set: Created 12 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/CodeGen/MicrosoftCXXABI.cpp
===================================================================
--- lib/CodeGen/MicrosoftCXXABI.cpp (revision 153329)
+++ lib/CodeGen/MicrosoftCXXABI.cpp (working copy)
@@ -78,6 +78,12 @@
// delete[] p;
// }
// Whereas it prints "104" and "104" if you give A a destructor.
+ void ReadArrayCookie(CodeGenFunction &CGF, llvm::Value *Ptr,
+ const CXXDeleteExpr *expr,
+ QualType ElementType, llvm::Value *&NumElements,
+ llvm::Value *&AllocPtr, CharUnits &CookieSize) {
+ llvm_unreachable("Don't know how to handle array cookies yet!");
+ }
};
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b