[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
Wed Jul 31 12:24:11 PDT 2024


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

My output for `image dump symtab a.out` is empty. However, if I edit https://github.com/llvm/llvm-project/blob/b66aa3bfff442a5eb67f1bfcfaa148e42e49b787/lldb/test/API/functionalities/multiple-slides/Makefile#L11 to use CFLAGS instead of CFLAGS_NO_DEBUG lldb I can see symtab output similar to yours above. Do you have happen to be working with a patched or older version of that file, or have settings in your environment that force `-gdwarf` to be passed to clang? I ask because although I am now able to see debug info, I still am wondering if there's something in my local environment that is causing different behavior. Additionally, LLDB produces no output `image lookup -s first`, which still breaks the test locally but it can resolve "first" if I instead run `ta v first`. Something is preventing it from looking up the symbols for `first` and `second` even though they are clearly present as globals

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


More information about the lldb-commits mailing list