[Lldb-commits] [lldb] [lldb][test] Add a new test for long types (PR #208447)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 22 13:50:33 PDT 2026


================
@@ -0,0 +1,29 @@
+// The width of 'long' depends on the data model. Expose its size to the test
+// as a global so it can select the right expectations from the target itself
+// instead of matching architecture names.
+unsigned long_size = sizeof(long);
----------------
adrian-prantl wrote:

Is there anything C++-specific about this test or could this have been a C test, too?

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


More information about the lldb-commits mailing list