Line 0
Link Here
|
|
|
1 |
diff --git a/tools/gpu/vk/VkTestUtils.cpp b/tools/gpu/vk/VkTestUtils.cpp |
2 |
index d7a10a2..c17cdf5 100644 |
3 |
--- a/tools/gpu/vk/VkTestUtils.cpp |
4 |
+++ b/tools/gpu/vk/VkTestUtils.cpp |
5 |
@@ -19,9 +19,6 @@ |
6 |
|
7 |
#include <algorithm> |
8 |
|
9 |
-#if defined(SK_BUILD_FOR_UNIX) |
10 |
-#include <execinfo.h> |
11 |
-#endif |
12 |
#include "include/gpu/vk/GrVkBackendContext.h" |
13 |
#include "include/gpu/vk/GrVkExtensions.h" |
14 |
#include "src/core/SkAutoMalloc.h" |
15 |
@@ -93,13 +90,6 @@ static int should_include_debug_layer(const char* layerName, |
16 |
} |
17 |
|
18 |
static void print_backtrace() { |
19 |
-#if defined(SK_BUILD_FOR_UNIX) |
20 |
- void* stack[64]; |
21 |
- int count = backtrace(stack, SK_ARRAY_COUNT(stack)); |
22 |
- backtrace_symbols_fd(stack, count, 2); |
23 |
-#else |
24 |
- // Please add implementations for other platforms. |
25 |
-#endif |
26 |
} |
27 |
|
28 |
VKAPI_ATTR VkBool32 VKAPI_CALL DebugReportCallback( |