Skip to content

Commit

Permalink
Only do the inline resolution test under libdwarf, #178
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-rifkin committed Oct 6, 2024
1 parent a1fa0a1 commit 0d53def
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/unit/stacktrace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ TEST(Stacktrace, RawTraceResolution) {
}



#ifndef _MSC_VER
#ifdef CPPTRACE_GET_SYMBOLS_WITH_LIBDWARF
CPPTRACE_FORCE_NO_INLINE int stacktrace_inline_resolution_3(std::vector<int>& line_numbers) {
line_numbers.insert(line_numbers.begin(), __LINE__ + 1);
auto trace = cpptrace::generate_trace();
Expand Down

0 comments on commit 0d53def

Please sign in to comment.