Merge "Add lld --no-rosegment flag to work with unwinder."

am: 01c66c199e

Change-Id: If38e1b593b1332982ac57e8d00c6d638c7126126
This commit is contained in:
Chih-Hung Hsieh 2018-06-11 20:50:44 -07:00 committed by android-build-merger
commit c970278167

View file

@ -89,6 +89,9 @@ var (
deviceGlobalLldflags = append(ClangFilterUnknownLldflags(deviceGlobalLdflags),
[]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",
"-fuse-ld=lld",
}...)