[Lldb-commits] [PATCH] D132231: [lldb][ClangExpression] Remove storage-class check when creating AsmLabel

Michael Buch via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 19 07:22:45 PDT 2022


Michael137 added inline comments.
Herald added a subscriber: JDevlieghere.


================
Comment at: lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py:212
         # Evaluate func() - should call static ns2.cpp:func()
-        # FIXME: This test fails because lldb doesn't know about file scopes so
-        # finds the global ::func().
-        self.expect("expr -- func()", startstr="(int) $0 = 2")
+        self.expect_expr("func()", result_type="int", result_value="2")
 
----------------
should probably move this to the appropriate test-function that isn't xfailed so we don't spin up an lldb instance just for this


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132231/new/

https://reviews.llvm.org/D132231



More information about the lldb-commits mailing list