Switch platform EH unwinder to prebuilt LLVM libunwind
For the platform libc++ STL, remove the -Wl,--exclude-libs,libunwind_llvm.a argument, which is redundant with the same argument in deviceGlobalLdflags. Bug: http://b/153025717 Test: device boots Change-Id: Idd7791d52f74aab2d5f59419fb75f841fc29a2eb
This commit is contained in:
@@ -90,9 +90,12 @@ var (
|
||||
"-Wl,--warn-shared-textrel",
|
||||
"-Wl,--fatal-warnings",
|
||||
"-Wl,--no-undefined-version",
|
||||
// TODO: Eventually we should link against a libunwind.a with hidden symbols, and then these
|
||||
// --exclude-libs arguments can be removed.
|
||||
"-Wl,--exclude-libs,libgcc.a",
|
||||
"-Wl,--exclude-libs,libgcc_stripped.a",
|
||||
"-Wl,--exclude-libs,libunwind_llvm.a",
|
||||
"-Wl,--exclude-libs,libunwind.a",
|
||||
}
|
||||
|
||||
deviceGlobalLldflags = append(ClangFilterUnknownLldflags(deviceGlobalLdflags),
|
||||
|
Reference in New Issue
Block a user