Skip to content

Instantly share code, notes, and snippets.

(lldb) bt
thread backtrace
* thread #1, name = 'lldb-server', stop reason = SIGABRT
* frame #0: 0x00007fd5f909c993 libc.so.6`__pthread_kill_internal(signo=6, threadid=<unavailable>) at pthread_kill.c:46:37
frame #1: 0x00007fd5f909c968 libc.so.6`__GI___pthread_kill(threadid=<unavailable>, signo=6) at pthread_kill.c:62:10
frame #2: 0x00007fd5f90444ad libc.so.6`__GI_raise(sig=6) at raise.c:26:13
frame #3: 0x00007fd5f902c433 libc.so.6`__GI_abort at abort.c:79:7
frame #4: 0x00007fd5f94a3fc5 libstdc++.so.6.0.29`__gnu_cxx::__verbose_terminate_handler() at vterminate.cc:95:10
frame #5: 0x00007fd5f94a1b2a libstdc++.so.6.0.29`__cxxabiv1::__terminate(handler=<unavailable>) at eh_terminate.cc:48:15
frame #6: 0x00007fd5f94a1b95 libstdc++.so.6.0.29`std::terminate() at eh_terminate.cc:58:15
@jeffreytan81
jeffreytan81 / rocm_debugger.cpp
Created January 23, 2025 18:46
rocm_debugger.cpp
#include <algorithm>
#include <amd-dbgapi/amd-dbgapi.h>
#include <array>
#include <assert.h>
#include <chrono>
#include <cstring>
#include <elf.h>
#include <fcntl.h>
#include <fstream>
#include <inttypes.h>