File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -356,8 +356,6 @@ class MCAsmInfo {
356356 // / protected visibility. Defaults to MCSA_Protected
357357 MCSymbolAttr ProtectedVisibilityAttr = MCSA_Protected;
358358
359- MCSymbolAttr MemtagAttr = MCSA_Memtag;
360-
361359 // ===--- Dwarf Emission Directives -----------------------------------===//
362360
363361 // / True if target supports emission of debugging information. Defaults to
@@ -635,8 +633,6 @@ class MCAsmInfo {
635633 return ProtectedVisibilityAttr;
636634 }
637635
638- MCSymbolAttr getMemtagAttr () const { return MemtagAttr; }
639-
640636 bool doesSupportDebugInformation () const { return SupportsDebugInformation; }
641637
642638 ExceptionHandling getExceptionHandlingType () const { return ExceptionsType; }
Original file line number Diff line number Diff line change @@ -760,7 +760,7 @@ void AsmPrinter::emitGlobalVariable(const GlobalVariable *GV) {
760760 OutContext.reportError (SMLoc (),
761761 " tagged symbols (-fsanitize=memtag-globals) are "
762762 " only supported on AArch64 Android" );
763- OutStreamer->emitSymbolAttribute (EmittedSym, MAI-> getMemtagAttr () );
763+ OutStreamer->emitSymbolAttribute (EmittedSym, MCSA_Memtag );
764764 }
765765
766766 if (!GV->hasInitializer ()) // External globals require no extra code.
You can’t perform that action at this time.
0 commit comments