mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-17 19:36:18 +00:00
Merge pull request #64 from alaindargelas/remove_try_catch_masking_stack_trace
Remove try/catch block that prevents proper stack trace unrolling
This commit is contained in:
commit
f79f402dbd
1 changed files with 19 additions and 25 deletions
|
@ -1109,7 +1109,6 @@ bool run_frontend(std::string filename, std::string command, RTLIL::Design *desi
|
|||
FILE *backup_script_file = Frontend::current_script_file;
|
||||
Frontend::current_script_file = f;
|
||||
|
||||
try {
|
||||
std::string command;
|
||||
while (fgetline(f, command)) {
|
||||
while (!command.empty() && command[command.size() - 1] == '\\') {
|
||||
|
@ -1133,11 +1132,6 @@ bool run_frontend(std::string filename, std::string command, RTLIL::Design *desi
|
|||
design->check();
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (...) {
|
||||
Frontend::current_script_file = backup_script_file;
|
||||
throw;
|
||||
}
|
||||
|
||||
Frontend::current_script_file = backup_script_file;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue