Turn off stack protector check for noreturn calls
This feature has a substantial impact on RSS memory usage (>2% in many processes). Turn this off for now. Test: RSS memory benchmark Bug: 277565884 Bug: 277083500 Change-Id: I2fc5826048ba5d00cabcc8401ac40a6f54812a43
This commit is contained in:
@@ -111,6 +111,9 @@ var (
|
||||
|
||||
// Turn off FMA which got enabled by default in clang-r445002 (http://b/218805949)
|
||||
"-ffp-contract=off",
|
||||
|
||||
// Turn off stack protector check for noreturn calls. (http://b/264965700)
|
||||
"-mllvm -disable-check-noreturn-call",
|
||||
}
|
||||
|
||||
commonGlobalConlyflags = []string{}
|
||||
@@ -147,6 +150,9 @@ var (
|
||||
commonGlobalLldflags = []string{
|
||||
"-fuse-ld=lld",
|
||||
"-Wl,--icf=safe",
|
||||
|
||||
// Turn off stack protector check for noreturn calls. (http://b/264965700)
|
||||
"-Wl,-mllvm,-disable-check-noreturn-call",
|
||||
}
|
||||
|
||||
deviceGlobalCppflags = []string{
|
||||
|
Reference in New Issue
Block a user