summaryrefslogtreecommitdiff
path: root/libs/gui/DisplayEventReceiver.cpp
diff options
context:
space:
mode:
author Josh Gao <jmgao@fb.com> 2023-01-17 14:59:04 -0800
committer Josh Gao <jmgao@fb.com> 2023-01-17 15:00:45 -0800
commitade0f6769d0169dd5865c988941e227c60937aaf (patch)
tree50fff56ff4c4e065c5ad748850a351ccc2c8deda /libs/gui/DisplayEventReceiver.cpp
parentbcb91683b14b851bca61eedeb3d607ba5f026c12 (diff)
surfaceflinger: fix missing pure virtual declarations.
android::frametimeline::FrameTimeline forgot to declare a pair of methods as pure virtual, which results in the following link failure when building at -O0 because the compiler expects to be able to only emit the class's vtable in the translation unit that defines the first non-pure method, which doesn't exist: ld.lld: error: undefined symbol: vtable for android::frametimeline::FrameTimeline >>> referenced by FrameTimeline.h:279 (frameworks/native/services/surfaceflinger/FrameTimeline/FrameTimeline.h:279) >>> lto.tmp:(android::frametimeline::FrameTimeline::FrameTimeline()) >>> referenced by FrameTimeline.h:279 (frameworks/native/services/surfaceflinger/FrameTimeline/FrameTimeline.h:279) >>> lto.tmp:(android::frametimeline::FrameTimeline::FrameTimeline()) Test: `mmma frameworks/native/surfaceflinger` after adding -O0 to surfaceflinger_defaults Change-Id: I2c93986ac5add2c603f385154c07c6238d03c663
Diffstat (limited to 'libs/gui/DisplayEventReceiver.cpp')
0 files changed, 0 insertions, 0 deletions