llvm.org GIT mirror llvm / 54b3a03
Fix -Wformat warnings in ExceptionDemo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244995 91177308-0d34-0410-b5e6-96231b3b80d8 David Blaikie 4 years ago
1 changed file(s) with 7 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
7676 #include
7777 #include
7878
79 #include
7980
8081 #ifndef USE_GLOBAL_STR_CONSTS
8182 #define USE_GLOBAL_STR_CONSTS true
568569 fprintf(stderr,
569570 "handleActionValue(...): exceptionObject = <%p>, "
570571 "excp = <%p>.\n",
571 exceptionObject,
572 excp);
572 (void*)exceptionObject,
573 (void*)excp);
573574 #endif
574575
575576 const uint8_t *actionPos = (uint8_t*) actionEntry,
587588
588589 #ifdef DEBUG
589590 fprintf(stderr,
590 "handleActionValue(...):typeOffset: <%lld>, "
591 "actionOffset: <%lld>.\n",
591 "handleActionValue(...):typeOffset: <%" PRIi64 ">, "
592 "actionOffset: <%" PRIi64 ">.\n",
592593 typeOffset,
593594 actionOffset);
594595 #endif
847848 #ifdef DEBUG
848849 fprintf(stderr,
849850 "ourPersonality(...):lsda = <%p>.\n",
850 lsda);
851 (void*)lsda);
851852 #endif
852853
853854 // The real work of the personality function is captured here
16931694 #ifdef DEBUG
16941695 fprintf(stderr,
16951696 "createStandardUtilityFunctions(...):ourBaseFromUnwindOffset "
1696 "= %lld, sizeof(struct OurBaseException_t) - "
1697 "= %" PRIi64 ", sizeof(struct OurBaseException_t) - "
16971698 "sizeof(struct _Unwind_Exception) = %lu.\n",
16981699 ourBaseFromUnwindOffset,
16991700 sizeof(struct OurBaseException_t) -