Merge "Add lld --no-rosegment flag to work with unwinder."
This commit is contained in:
@@ -89,6 +89,9 @@ var (
|
|||||||
|
|
||||||
deviceGlobalLldflags = append(ClangFilterUnknownLldflags(deviceGlobalLdflags),
|
deviceGlobalLldflags = append(ClangFilterUnknownLldflags(deviceGlobalLdflags),
|
||||||
[]string{
|
[]string{
|
||||||
|
// TODO(b/109657296): needs --no-rosegment until Android
|
||||||
|
// stack unwinder can handle the read-only segment.
|
||||||
|
"-Wl,--no-rosegment",
|
||||||
"-Wl,--pack-dyn-relocs=android",
|
"-Wl,--pack-dyn-relocs=android",
|
||||||
"-fuse-ld=lld",
|
"-fuse-ld=lld",
|
||||||
}...)
|
}...)
|
||||||
|
Reference in New Issue
Block a user