mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-21 12:35:47 -04:00

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
12 lines
94 B
C
12 lines
94 B
C
extern int f();
|
|
|
|
void g() {
|
|
int y = 14;
|
|
int x = f();
|
|
}
|
|
|
|
int main() {
|
|
g();
|
|
return 0;
|
|
}
|