mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
4cba7dbba9
Linking the debug frame section is actually very easy as we just have to patch the start address in the FDE header and then copy the rest of the FDE without even looking at it. The only small complexity comes from the handling of the CIEs that we should unique across object file. This is also really easy by using a StringMap keyed on the raw contents of the CIE. llvm-svn: 239198
11 lines
110 B
C
11 lines
110 B
C
int foo(int *f);
|
|
|
|
int bar(int b) {
|
|
int var = b + 1;
|
|
return foo(&var);
|
|
}
|
|
|
|
int baz(int b) {
|
|
return bar(b);
|
|
}
|