[PATCH] D61710: lld: Add a warning limit, similar to the existing error limit

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 9 03:11:19 PDT 2019


MaskRay added a comment.

In D61710#1496187 <https://reviews.llvm.org/D61710#1496187>, @ruiu wrote:

> Yes, a macro works too.
>
> But what is your concern with "leaking" the pathname?


Not a big concern, just that `__FILE__` affects reproducibility. `__FILE__` means `"a.c"` in `clang a.c` but `"/build/a.c"` in `clang /build/a.c`.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61710/new/

https://reviews.llvm.org/D61710





More information about the llvm-commits mailing list