summaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/signalhandler/my_shared_library.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vespalib/src/tests/signalhandler/my_shared_library.cpp')
-rw-r--r--vespalib/src/tests/signalhandler/my_shared_library.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/vespalib/src/tests/signalhandler/my_shared_library.cpp b/vespalib/src/tests/signalhandler/my_shared_library.cpp
index 5663f6c4ba0..4b7593d863c 100644
--- a/vespalib/src/tests/signalhandler/my_shared_library.cpp
+++ b/vespalib/src/tests/signalhandler/my_shared_library.cpp
@@ -12,6 +12,7 @@ void my_cool_function(std::latch& arrival_latch, std::latch& departure_latch) {
arrival_latch.arrive_and_wait();
// Twiddle thumbs in departure latch until main test thread has dumped our stack
departure_latch.arrive_and_wait();
+ asm(""); // Dear GCC; really, really don't inline this function. It's clobberin' time!
}
vespalib::string my_totally_tubular_and_groovy_function() {