This were failing on Windows CI with errors like: ``` 22: (lldb) bt 23: * thread #1, stop reason = breakpoint 1.1 24: frame #0: 0x00007ff7c5e41000 TestFrameFormatFunctionFormattedArgumentsObjC.test.tmp.objc.out`func at main.m:2 25: frame #1: 0x00007ff7c5e4101c TestFrameFormatFunctionFormattedArgumentsObjC.test.tmp.objc.out`bar + 12 at main.m:3 26: frame #2: 0x00007ff7c5e4103c TestFrameFormatFunctionFormattedArgumentsObjC.test.tmp.objc.out`main + 16 at main.m:5 27: custom-frame '()' !~~~~~~~~~~~ error: no match expected 28: custom-frame '(__formal=<unavailable>)' ```
27 lines
609 B
Plaintext
27 lines
609 B
Plaintext
# UNSUPPORTED: system-windows
|
|
|
|
# Check that we have an appropriate fallback for ${function.formatted-arguments} in languages that
|
|
# don't implement this frame format variable (in this case Objective-C).
|
|
#
|
|
# RUN: split-file %s %t
|
|
# RUN: %build %t/main.m -o %t.objc.out
|
|
# RUN: %lldb -x -b -s %t/commands.input %t.objc.out -o exit 2>&1 \
|
|
# RUN: | FileCheck %s
|
|
|
|
#--- main.m
|
|
|
|
int func() {}
|
|
int bar() { func(); }
|
|
|
|
int main() { return bar(); }
|
|
|
|
#--- commands.input
|
|
settings set -f frame-format "custom-frame '${function.formatted-arguments}'\n"
|
|
break set -n func
|
|
|
|
run
|
|
bt
|
|
|
|
# CHECK: bt
|
|
# CHECK-NOT: custom-frame
|