forked from m2-internship/talk-2018-11-uppsala
4 changed files with 26 additions and 0 deletions
Binary file not shown.
Binary file not shown.
@ -0,0 +1,14 @@
@@ -0,0 +1,14 @@
|
||||
#include <stdio.h> |
||||
|
||||
int bar(int x) { |
||||
printf("'I’m %d; how many? %n\n", x, &x); |
||||
return x; |
||||
} |
||||
|
||||
int foo() { |
||||
return bar(3); |
||||
} |
||||
|
||||
int main() { |
||||
return foo(); |
||||
} |
@ -0,0 +1,12 @@
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash |
||||
|
||||
SYNTHESIS_SCRIPT="../../../src/dwarf-synthesis/synthesize_dwarf.sh" |
||||
|
||||
if [ "$#" -lt 1 ] ; then |
||||
>&2 echo -e "Missing argument: object file.\nUsage: $0 object.o" |
||||
exit 1 |
||||
fi |
||||
|
||||
objfile="$1" |
||||
|
||||
$SYNTHESIS_SCRIPT "$objfile" "$objfile.synth" |
Loading…
Reference in new issue