Files
clang-p2996/lldb/test/API/lang/cpp/gmodules/pch-chain/main.cpp
Michael Buch 252f3c98db [lldb][test] Add test for chained PCH debugging (#83582)
Adds a test-case for debugging a program with a
pch chain, that is, the main executable depends
on a pch that itself included another pch.

Currently clang doesn't emit the sekeleton CUs
required for LLDB to track all types on the pch chain. Thus this test is
XFAILed for now.
2024-03-04 17:17:13 +00:00

11 lines
247 B
C++

int main(int argc, const char *argv[]) {
struct MatrixData data = {0};
data.section.origin.row = 1;
data.section.origin.col = 2;
data.section.size.row = 3;
data.section.size.col = 4;
data.stride = 5;
return data.section.size.row;
}