Commit bdba2fb8 authored by Evgeny Astigeevich's avatar Evgeny Astigeevich Committed by Andreas Gampe
Browse files

Fix error: undefined symbol art::instruction_set_details::GetStackOverflowReservedBytesFailure

When ART is built with ART_DEBUG_OPT_FLAG="-O0". Linker fails with the
errors:

ld.lld: error: undefined symbol:
art::instruction_set_details::GetStackOverflowReservedBytesFailure(char
const*)
>>> referenced by instruction_set.h:271
(art/libartbase/arch/instruction_set.h:271)

ld.lld: error: undefined symbol:
art::instruction_set_details::GetStackOverflowReservedBytesFailure(char
const*)
>>> referenced by instruction_set.h:274
(art/libartbase/arch/instruction_set.h:274)

This happens because GetStackOverflowReservedBytesFailure is declared in
art::instruction_set_details but it is not defined there.

This CL puts the definition of GetStackOverflowReservedBytesFailure into
the instruction_set_details namespace.

Follow-up to commit a9b2f7b0.

Test: ART_DEBUG_OPT_FLAG="-O0" art/tools/buildbot-build.sh --target
Change-Id: I641d48fd0901292fa94a2c329ad7feea98a6962b
parent c980df61
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment