Skip to content

Commit 0976fa1

Browse files
Update clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp
Co-authored-by: Andy Kaylor <[email protected]>
1 parent 2c79974 commit 0976fa1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2001,7 +2001,10 @@ Address CIRGenItaniumCXXABI::initializeArrayCookie(CIRGenFunction &cgf,
20012001
QualType elementType) {
20022002
assert(requiresArrayCookie(e));
20032003

2004-
// TODO: Get the address space when sanitizer support is implemented.
2004+
// TODO: When sanitizer support is implemented, we'll need to
2005+
// get the address space from `newPtr`.
2006+
assert(!cir::MissingFeatures::addressSpace());
2007+
assert(!cir::MissingFeatures::sanitizers());
20052008

20062009
ASTContext &ctx = cgm.getASTContext();
20072010
CharUnits sizeSize = cgf.getSizeSize();

0 commit comments

Comments
 (0)