[all-commits] [llvm/llvm-project] 2cd9a8: Don't append the working directory to absolute paths

adrian-prantl via All-commits all-commits at lists.llvm.org
Fri Feb 25 13:04:31 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2cd9a86da54f8be4eb2aff3e766b125cbdeb023f
      https://github.com/llvm/llvm-project/commit/2cd9a86da54f8be4eb2aff3e766b125cbdeb023f
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2022-02-25 (Fri, 25 Feb 2022)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/test/CodeGen/debug-prefix-map.c

  Log Message:
  -----------
  Don't append the working directory to absolute paths

This fixes a bug that happens when using -fdebug-prefix-map to remap
an absolute path to a relative path. Since the path was absolute
before remapping, it is safe to assume that concatenating the remapped
working directory would be wrong.

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


  Commit: bbaeb1ee0ee03ffd5161f1414c8b36d7d7fcdbb7
      https://github.com/llvm/llvm-project/commit/bbaeb1ee0ee03ffd5161f1414c8b36d7d7fcdbb7
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2022-02-25 (Fri, 25 Feb 2022)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/MachO.h
    M llvm/include/llvm/Object/MachO.h
    M llvm/lib/Object/MachOObjectFile.cpp
    M llvm/test/Object/AArch64/chained-fixups-header.test

  Log Message:
  -----------
  Validate chained fixup image formats

This is part of a series of patches to upstream support for Mach-O
chained fixups.

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


Compare: https://github.com/llvm/llvm-project/compare/c05da55bdf54...bbaeb1ee0ee0


More information about the All-commits mailing list