xref: /aosp_15_r20/external/angle/src/common/backtrace_utils_noop.cpp (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1 //
2 // Copyright 2022 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6 // backtrace_utils_noop.cpp:
7 //   Implements the placeholder functions related to the backtrace info class for non-Android
8 //   platforms or when the backtrace feature is disabled.
9 //
10 
11 #include "backtrace_utils.h"
12 
13 namespace angle
14 {
15 
populateBacktraceInfo(void ** stackAddressBuffer,size_t stackAddressCount)16 void BacktraceInfo::populateBacktraceInfo(void **stackAddressBuffer, size_t stackAddressCount) {}
17 
getBacktraceInfo()18 BacktraceInfo getBacktraceInfo()
19 {
20     return {};
21 }
22 
23 // The following function has been defined in each platform separately.
24 // - void printBacktraceInfo(BacktraceInfo backtraceInfo);
25 
26 }  // namespace angle
27