[all-commits] [llvm/llvm-project] bf8696: Use portable flag with nm in extract_symbols.py

David Tenty via All-commits all-commits at lists.llvm.org
Wed Oct 23 13:48:47 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bf869683c3f26827853e3c34d3c4a337069928fe
      https://github.com/llvm/llvm-project/commit/bf869683c3f26827853e3c34d3c4a337069928fe
  Author: David Tenty <daltenty at ibm.com>
  Date:   2019-10-23 (Wed, 23 Oct 2019)

  Changed paths:
    M llvm/utils/extract_symbols.py

  Log Message:
  -----------
  Use portable flag with nm in extract_symbols.py

Summary:
nm is one of the tools that extract_symbols.py can use to extract
symbols from llvm libraries as part of the build process. This patch
updates the invocation of nm to use the -P POSIX option for "portable
output" so we get a consistently parsable output format on all
platforms.

A link to the relevant nm format: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/nm.html

Reviewers: hubert.reinterpretcast, stevewan, sfertile

Reviewed By: stevewan

Subscribers: llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list