[llvm] 84fc123 - [DebugInfo][NFCI]: Removed an exclamation mark from error message.

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 22 21:14:53 PDT 2020


Please add a test for this. (likely an existing test probably covers this
error message, but it should be updated to test for the specific message)

On Wed, Feb 19, 2020 at 6:19 PM Sourabh Singh Tomar via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

>
> Author: Sourabh Singh Tomar
> Date: 2020-02-20T07:49:08+05:30
> New Revision: 84fc1233d9a47cd7b6e681b4573d9abbc779dd2b
>
> URL:
> https://github.com/llvm/llvm-project/commit/84fc1233d9a47cd7b6e681b4573d9abbc779dd2b
> DIFF:
> https://github.com/llvm/llvm-project/commit/84fc1233d9a47cd7b6e681b4573d9abbc779dd2b.diff
>
> LOG: [DebugInfo][NFCI]: Removed an exclamation mark from error message.
>
> Added:
>
>
> Modified:
>     llvm/tools/llvm-dwp/llvm-dwp.cpp
>
> Removed:
>
>
>
>
> ################################################################################
> diff  --git a/llvm/tools/llvm-dwp/llvm-dwp.cpp
> b/llvm/tools/llvm-dwp/llvm-dwp.cpp
> index f437063d1921..4eff8476d61f 100644
> --- a/llvm/tools/llvm-dwp/llvm-dwp.cpp
> +++ b/llvm/tools/llvm-dwp/llvm-dwp.cpp
> @@ -155,7 +155,7 @@ static Expected<CompileUnitIdentifiers>
> getCUIdentifiers(StringRef Abbrev,
>        return make_error<DWPError>(
>            std::string("unit type DW_UT_split_compile type not found in "
>                        "debug_info header. Unexpected unit type 0x" +
> -                      utostr(UnitType) + " found!"));
> +                      utostr(UnitType) + " found"));
>    }
>    InfoData.getU32(&Offset); // Abbrev offset (should be zero)
>    uint8_t AddrSize = InfoData.getU8(&Offset);
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200322/16450c93/attachment.html>


More information about the llvm-commits mailing list