[all-commits] [llvm/llvm-project] 2b1736: [Object] Refine isData/isBSS criteria

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Aug 5 10:06:15 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b17366207f4906616e9e46a17f675ec7ac93bcd
      https://github.com/llvm/llvm-project/commit/2b17366207f4906616e9e46a17f675ec7ac93bcd
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-08-05 (Mon, 05 Aug 2024)

  Changed paths:
    M llvm/include/llvm/Object/ELFObjectFile.h
    M llvm/test/tools/llvm-nm/data.test
    M llvm/test/tools/llvm-nm/readonly.test
    M llvm/test/tools/llvm-objdump/section-headers.test

  Log Message:
  -----------
  [Object] Refine isData/isBSS criteria

In GNU, DATA applies to not only SHT_PROGBITS, but also other non-NOBITS
types. BSS doesn't require the SHF_WRITE flag.

Pull Request: https://github.com/llvm/llvm-project/pull/101290



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list