[all-commits] [llvm/llvm-project] d7550e: [libcxx] Fix a case of -Wundef warnings regarding ...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Thu Jun 17 03:02:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d7550e5d105f998ea34bd6c51c03d37a8c546025
      https://github.com/llvm/llvm-project/commit/d7550e5d105f998ea34bd6c51c03d37a8c546025
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-06-17 (Thu, 17 Jun 2021)

  Changed paths:
    M libcxx/src/chrono.cpp

  Log Message:
  -----------
  [libcxx] Fix a case of -Wundef warnings regarding _POSIX_TIMERS

Differential Revision: https://reviews.llvm.org/D104372


  Commit: 4fe3d5248dfae0a864f0cf0c77d10c4a966f05a9
      https://github.com/llvm/llvm-project/commit/4fe3d5248dfae0a864f0cf0c77d10c4a966f05a9
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-06-17 (Thu, 17 Jun 2021)

  Changed paths:
    M llvm/test/tools/llvm-dlltool/coff-noname.def

  Log Message:
  -----------
  [llvm-dlltool] [test] Test both short and long forms of options. NFC.

Differential Revision: https://reviews.llvm.org/D104213


  Commit: 08be746728d7de59b045681a4a0f6567f14adea3
      https://github.com/llvm/llvm-project/commit/08be746728d7de59b045681a4a0f6567f14adea3
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-06-17 (Thu, 17 Jun 2021)

  Changed paths:
    M llvm/test/tools/llvm-dlltool/coff-exports.def

  Log Message:
  -----------
  [llvm-dlltool] [test] Remove superfluous --coff-exports option to llvm-readobj. NFC.

The --coff-exports option to llvm-readobj prints the exported symbols
from a DLL/EXE, it doesn't do anything with regards to an import
library.

Differential Revision: https://reviews.llvm.org/D104214


  Commit: 675d52bc46ff7e618ffa2fb282d031e387e3a114
      https://github.com/llvm/llvm-project/commit/675d52bc46ff7e618ffa2fb282d031e387e3a114
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-06-17 (Thu, 17 Jun 2021)

  Changed paths:
    A llvm/test/tools/llvm-dlltool/machine-opt.def

  Log Message:
  -----------
  [llvm-dlltool] [test] Add a testcase for all machine option types. NFC.

The existing tests only test that some options (but not e.g. arm)
are accepted, but it doesn't test their functional effect of
affecting the generated object files.

Differential Revision: https://reviews.llvm.org/D104215


  Commit: ca56b33daf6781a248750b6d538cef84fdae0d1b
      https://github.com/llvm/llvm-project/commit/ca56b33daf6781a248750b6d538cef84fdae0d1b
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-06-17 (Thu, 17 Jun 2021)

  Changed paths:
    M llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
    A llvm/test/tools/llvm-dlltool/triple-prefix.def

  Log Message:
  -----------
  [llvm-dlltool] Imply the target arch from a tool triple prefix

Also use the default LLVM target as default for dlltool. This
matches how GNU dlltool behaves; it is compiled with one default
target, which is used if no option is provided.

Extend the anonymous namespace in the implementation file instead
of using static functions.

Based on a patch by Mateusz Mikuła.

The effect of the default LLVM target, if neither the -m option
nor a tool triple prefix is provided, isn't tested, as we can't
make assumptions about what it is set to.

(We could make the default be forced to one of the four supported
architectures if the default triple is another arch, and then just
test that llvm-dlltool without an -m option is able to produce an
import library, without checking the actual architecture though.)

Differential Revision: https://reviews.llvm.org/D104212


  Commit: ceee35e3e4bf9729e1aae9bfadd6d25bfe3769ee
      https://github.com/llvm/llvm-project/commit/ceee35e3e4bf9729e1aae9bfadd6d25bfe3769ee
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-06-17 (Thu, 17 Jun 2021)

  Changed paths:
    M lld/COFF/DLL.cpp

  Log Message:
  -----------
  [LLD] [COFF] Remove a stray duplicate comment. NFC.

The following class isn't part of the export table; there's a
second correctly placed comment about the things that actually
belong to the export table.


Compare: https://github.com/llvm/llvm-project/compare/23cdf7b6ed97...ceee35e3e4bf


More information about the All-commits mailing list