diff options
| author | 2018-11-16 14:59:22 +0000 | |
|---|---|---|
| committer | 2018-11-16 18:37:07 +0000 | |
| commit | bdba2fb8939c45f3d6bad75771391139c7d4ef26 (patch) | |
| tree | 73cd66d4be85843d2b7f70b59189f298f9bfb1f5 /compiler/driver/compiler_options.cc | |
| parent | c980df6125e53bbf8e5e7e8eecb3f9b0125bae5e (diff) | |
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 a9b2f7b097d2ce0c354a907748d5864775b32088.
Test: ART_DEBUG_OPT_FLAG="-O0" art/tools/buildbot-build.sh --target
Change-Id: I641d48fd0901292fa94a2c329ad7feea98a6962b
Diffstat (limited to 'compiler/driver/compiler_options.cc')
0 files changed, 0 insertions, 0 deletions