Skip to content

Commit 162579f

Browse files
Update clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp
Co-authored-by: Andy Kaylor <[email protected]>
1 parent b5434f0 commit 162579f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2038,10 +2038,7 @@ Address CIRGenItaniumCXXABI::initializeArrayCookie(CIRGenFunction &cgf,
20382038
cookiePtr.withElementType(cgf.getBuilder(), cgf.SizeTy);
20392039
cgf.getBuilder().createStore(loc, numElements, numElementsPtr);
20402040

2041-
if (cgf.sanOpts.has(SanitizerKind::Address)) {
2042-
cgm.errorNYI(e->getSourceRange(),
2043-
"initializeArrayCookie: AddressSanitizer");
2044-
}
2041+
assert(!cir::MissingFeatures::sanitizers());
20452042

20462043
// Finally, compute a pointer to the actual data buffer by skipping
20472044
// over the cookie completely.

0 commit comments

Comments
 (0)