@@ -436,6 +436,7 @@ inline int load_int(const char* in, const std::function<void(const char*)>* repo
436436 return out;
437437}
438438inline void load_add_region_required_attributes (const pugi::xml_node& root, int * x_high, int * x_low, int * y_high, int * y_low, const std::function<void (const char *)>* report_error) {
439+ std::printf (" load_add_region_required_attributes errno: %d\n " , errno);
439440 std::bitset<5 > astate = 0 ;
440441 for (pugi::xml_attribute attr = root.first_attribute (); attr; attr = attr.next_attribute ()) {
441442 atok_t_add_region in = lex_attr_t_add_region (attr.name (), report_error);
@@ -503,6 +504,7 @@ inline void load_add_region(const pugi::xml_node& root, T& out, Context& context
503504 atok_t_add_region in = lex_attr_t_add_region (attr.name (), report_error);
504505 switch (in) {
505506 case atok_t_add_region::SUBTILE:
507+ std::printf (" out.set_add_region_subtile errno: %d\n " , errno);
506508 out.set_add_region_subtile (load_int (attr.value (), report_error), context);
507509 break ;
508510 case atok_t_add_region::X_HIGH:
@@ -534,6 +536,7 @@ constexpr int gstate_t_partition[NUM_T_PARTITION_STATES][NUM_T_PARTITION_INPUTS]
534536};
535537template <class T , typename Context>
536538inline void load_partition (const pugi::xml_node& root, T& out, Context& context, const std::function<void (const char *)>* report_error, ptrdiff_t* offset_debug) {
539+ std::printf (" load_partition errno: %d\n " , errno);
537540 (void )root;
538541 (void )out;
539542 (void )context;
@@ -622,6 +625,7 @@ constexpr int gstate_t_partition_list[NUM_T_PARTITION_LIST_STATES][NUM_T_PARTITI
622625};
623626template <class T , typename Context>
624627inline void load_partition_list (const pugi::xml_node& root, T& out, Context& context, const std::function<void (const char *)>* report_error, ptrdiff_t* offset_debug) {
628+ std::printf (" load_partition_list errno: %d\n " , errno);
625629 (void )root;
626630 (void )out;
627631 (void )context;
@@ -677,6 +681,7 @@ inline void load_partition_list(const pugi::xml_node& root, T& out, Context& con
677681
678682template <class T , typename Context>
679683inline void load_vpr_constraints (const pugi::xml_node& root, T& out, Context& context, const std::function<void (const char *)>* report_error, ptrdiff_t* offset_debug) {
684+ std::printf (" load_vpr_constraints errno: %d\n " , errno);
680685 (void )root;
681686 (void )out;
682687 (void )context;
0 commit comments