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 {
356
356
// / protected visibility. Defaults to MCSA_Protected
357
357
MCSymbolAttr ProtectedVisibilityAttr = MCSA_Protected;
358
358
359
- MCSymbolAttr MemtagAttr = MCSA_Memtag;
360
-
361
359
// ===--- Dwarf Emission Directives -----------------------------------===//
362
360
363
361
// / True if target supports emission of debugging information. Defaults to
@@ -635,8 +633,6 @@ class MCAsmInfo {
635
633
return ProtectedVisibilityAttr;
636
634
}
637
635
638
- MCSymbolAttr getMemtagAttr () const { return MemtagAttr; }
639
-
640
636
bool doesSupportDebugInformation () const { return SupportsDebugInformation; }
641
637
642
638
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) {
760
760
OutContext.reportError (SMLoc (),
761
761
" tagged symbols (-fsanitize=memtag-globals) are "
762
762
" only supported on AArch64 Android" );
763
- OutStreamer->emitSymbolAttribute (EmittedSym, MAI-> getMemtagAttr () );
763
+ OutStreamer->emitSymbolAttribute (EmittedSym, MCSA_Memtag );
764
764
}
765
765
766
766
if (!GV->hasInitializer ()) // External globals require no extra code.
You can’t perform that action at this time.
0 commit comments