[DebugInfo] Prevent inlining in NRVO-string test cases

Since the new pass manager has been enabled by default these tests had their
-O1 variations failing due to the tested functions being inlined. This just
adds no_inline to the respective code similar to what we did in other
tests (e.g. aa56b30014d96700b2fc945be11866789f341d38 ).

GitOrigin-RevId: a874d182c61c7f8e5291c718b40be0e133bf21f0
diff --git a/dexter-tests/nrvo-string.cpp b/dexter-tests/nrvo-string.cpp
index c33b01b..288105e 100644
--- a/dexter-tests/nrvo-string.cpp
+++ b/dexter-tests/nrvo-string.cpp
@@ -25,7 +25,7 @@
   ~string() {}
   int i = 0;
 };
-string get_string() {
+string __attribute__((noinline)) get_string() {
   string unused;
   string output = 3;
   stop(); // DexLabel('string-nrvo')
@@ -37,7 +37,7 @@
   string2(string2 &&other) { i = other.i; }
   int i;
 };
-string2 get_string2() {
+string2 __attribute__((noinline)) get_string2() {
   string2 output;
   output.i = 5;
   some_function(output.i);
diff --git a/llgdb-tests/nrvo-string.cpp b/llgdb-tests/nrvo-string.cpp
index ba8d9d4..9b805c9 100644
--- a/llgdb-tests/nrvo-string.cpp
+++ b/llgdb-tests/nrvo-string.cpp
@@ -16,7 +16,7 @@
   ~string() {}
   int i = 0;
 };
-string get_string() {
+string __attribute__((noinline)) get_string() {
   string unused;
   string result = 3;
   // DEBUGGER: break 23
@@ -29,7 +29,7 @@
   string2(string2 &&other) { i = other.i; }
   int i;
 };
-string2 get_string2() {
+string2 __attribute__((noinline)) get_string2() {
   string2 result;
   result.i = 5;
   some_function(result.i);