teak-llvm/lldb/packages/Python/lldbsuite/test/linux/mix-dwo-and-regular-objects/b.c
Alexander Shaposhnikov 2aea8f9787 [lldb] Enable debugging of binaries with mixed (splitted/regular) dwarf
Initialize the default value of SymbolFileDWARF uuid with 
the appropriately shifted DW_INVALID_OFFSET constant.
This change fixes the collision in the computation of DIE uid 
(inside DIERef::GetUID) and incorrect CompileUnit lookup
(because of the misleading cu_offset value).

Test plan: make check-lldb

Differential revision: https://reviews.llvm.org/D42563

llvm-svn: 323832
2018-01-30 23:45:20 +00:00

12 lines
94 B
C

extern int f();
void g() {
int y = 14;
int x = f();
}
int main() {
g();
return 0;
}