[Lldb-commits] [lldb] [lldb][test][win][x86_64] Fix XFAIL and XPASS on LLDB API tests (PR #100477)

Kendal Harland via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 29 14:55:18 PDT 2024


================
@@ -12,6 +12,7 @@
 class MultipleSlidesTestCase(TestBase):
     NO_DEBUG_INFO_TESTCASE = True
 
+    @expectedFailureAll(oslist=["windows"], archs=["x86_64"])
----------------
kendalharland wrote:

Ah, sorry I spoke too soon. On windows I am seeing this fail. The test is built without debug information because this is in it's makefile:

```
C_SOURCES := main.c
MAKE_DSYM := NO

include Makefile.rules

main.o: main.c
	$(CC) $(CFLAGS_NO_DEBUG) -c $< -o $@
```

I am curious to know how this is passing for you? Without specifying `-g` or `-gdwarf` to Clang, lldb cannot resolve the name `first` and fails for me locally. But adding either of those flags fixes the problem.

https://github.com/llvm/llvm-project/pull/100477


More information about the lldb-commits mailing list