[Lldb-commits] [PATCH] D76406: [lldb/testsuite] Fix TestInlineStepping on arm64 with newer compilers
Frederic Riss via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 19 08:38:23 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGecc6c426977f: [lldb/testsuite] Fix TestInlineStepping on arm64 with newer compilers (authored by friss).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76406/new/
https://reviews.llvm.org/D76406
Files:
lldb/test/API/functionalities/inline-stepping/calling.cpp
Index: lldb/test/API/functionalities/inline-stepping/calling.cpp
===================================================================
--- lldb/test/API/functionalities/inline-stepping/calling.cpp
+++ lldb/test/API/functionalities/inline-stepping/calling.cpp
@@ -75,7 +75,7 @@
void
caller_trivial_2 ()
{
- inline_trivial_1 (); // In caller_trivial_2.
+ asm volatile ("nop"); inline_trivial_1 (); // In caller_trivial_2.
inline_value += 1; // At increment in caller_trivial_2.
}
@@ -88,7 +88,7 @@
void
inline_trivial_1 ()
{
- inline_trivial_2(); // In inline_trivial_1.
+ asm volatile ("nop"); inline_trivial_2(); // In inline_trivial_1.
inline_value += 1; // At increment in inline_trivial_1.
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76406.251397.patch
Type: text/x-patch
Size: 729 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200319/21829d15/attachment.bin>
More information about the lldb-commits
mailing list