Merge "Work around stack frame size for memtag-stack"
This commit is contained in:
@@ -714,6 +714,8 @@ func (sanitize *sanitize) flags(ctx ModuleContext, flags Flags) Flags {
|
||||
|
||||
if Bool(sanitize.Properties.Sanitize.Memtag_stack) {
|
||||
flags.Local.CFlags = append(flags.Local.CFlags, memtagStackCommonFlags...)
|
||||
// TODO(fmayer): remove -Wno-error once https://reviews.llvm.org/D127917 is in Android toolchain.
|
||||
flags.Local.CFlags = append(flags.Local.CFlags, "-Wno-error=frame-larger-than")
|
||||
flags.Local.AsFlags = append(flags.Local.AsFlags, memtagStackCommonFlags...)
|
||||
flags.Local.LdFlags = append(flags.Local.LdFlags, memtagStackCommonFlags...)
|
||||
}
|
||||
|
Reference in New Issue
Block a user