[all-commits] [llvm/llvm-project] d538ad: [JMCInstrument] infer proper path style based on d...

Yuanfang Chen via All-commits all-commits at lists.llvm.org
Thu Mar 10 10:51:17 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d538ad53c36b1e152f0feeacf9cdd1ae1cb85963
      https://github.com/llvm/llvm-project/commit/d538ad53c36b1e152f0feeacf9cdd1ae1cb85963
  Author: Yuanfang Chen <yuanfang.chen at sony.com>
  Date:   2022-03-10 (Thu, 10 Mar 2022)

  Changed paths:
    M llvm/lib/CodeGen/JMCInstrumenter.cpp
    M llvm/test/Instrumentation/JustMyCode/jmc-instrument-elf.ll
    M llvm/test/Instrumentation/JustMyCode/jmc-instrument-x86.ll
    M llvm/test/Instrumentation/JustMyCode/jmc-instrument.ll

  Log Message:
  -----------
  [JMCInstrument] infer proper path style based on debug info

By default, the path style is decided by the host. This patch makes JMC
uses the path style used by the SP directory. This makes JMC output
host-independent.

Fixes: https://github.com/llvm/llvm-project/issues/54219

Reviewed By: rnk

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




More information about the All-commits mailing list