Stop using C++ exceptions for stack unwinding.

This commit is contained in:
Vadim Chugunov 2013-12-15 17:17:07 -08:00
parent 619c4fce89
commit e3b37154b0
16 changed files with 355 additions and 161 deletions

View file

@ -59,6 +59,7 @@ for llconfig in sys.argv[3:]:
for lib in out.strip().split(' '):
lib = lib[2:] # chop of the leading '-l'
f.write("#[link(name = \"" + lib + "\", kind = \"static\")]\n")
f.write("#[link(name = \"stdc++\")]\n")
if os == 'win32':
f.write("#[link(name = \"imagehlp\")]\n")
f.write("extern {}\n")