|
102 | 102 | // #define BACKWARD_HAS_UNWIND 1 |
103 | 103 | // - unwind comes from libgcc, but I saw an equivalent inside clang itself. |
104 | 104 | // - with unwind, the stacktrace is as accurate as it can possibly be, since |
105 | | -// this is used by the C++ runtine in gcc/clang for stack unwinding on |
| 105 | +// this is used by the C++ runtime in gcc/clang for stack unwinding on |
106 | 106 | // exception. |
107 | 107 | // - normally libgcc is already linked to your program by default. |
108 | 108 | // |
|
272 | 272 | // #define BACKWARD_HAS_UNWIND 1 |
273 | 273 | // - unwind comes from libgcc, but I saw an equivalent inside clang itself. |
274 | 274 | // - with unwind, the stacktrace is as accurate as it can possibly be, since |
275 | | -// this is used by the C++ runtine in gcc/clang for stack unwinding on |
| 275 | +// this is used by the C++ runtime in gcc/clang for stack unwinding on |
276 | 276 | // exception. |
277 | 277 | // - normally libgcc is already linked to your program by default. |
278 | 278 | // |
@@ -713,7 +713,7 @@ struct ResolvedTrace : public Trace { |
713 | 713 |
|
714 | 714 | /*************** STACK TRACE ***************/ |
715 | 715 |
|
716 | | -// default implemention. |
| 716 | +// default implementation. |
717 | 717 | template <typename TAG> class StackTraceImpl { |
718 | 718 | public: |
719 | 719 | size_t size() const { return 0; } |
@@ -828,7 +828,7 @@ template <typename F> class Unwinder { |
828 | 828 | uintptr_t ip = _Unwind_GetIPInfo(ctx, &ip_before_instruction); |
829 | 829 |
|
830 | 830 | if (!ip_before_instruction) { |
831 | | - // calculating 0-1 for unsigned, looks like a possible bug to sanitiziers, |
| 831 | + // calculating 0-1 for unsigned, looks like a possible bug to sanitizers, |
832 | 832 | // so let's do it explicitly: |
833 | 833 | if (ip == 0) { |
834 | 834 | ip = std::numeric_limits<uintptr_t>::max(); // set it to 0xffff... (as |
@@ -1481,7 +1481,7 @@ class TraceResolverLinuxImpl<trace_resolver_tag::libbfd> |
1481 | 1481 | // this time we get the name of the function where the code is |
1482 | 1482 | // located, instead of the function were the address is |
1483 | 1483 | // located. In short, if the code was inlined, we get the |
1484 | | - // function correspoding to the code. Else we already got in |
| 1484 | + // function corresponding to the code. Else we already got in |
1485 | 1485 | // trace.function. |
1486 | 1486 | trace.source.function = demangle(details_selected->funcname); |
1487 | 1487 |
|
|
0 commit comments