[PATCH] D121236: [JMCInstrument] infer proper path style based on debug info

Yuanfang Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 8 11:02:06 PST 2022


ychen created this revision.
ychen added a reviewer: rnk.
Herald added a subscriber: hiraditya.
Herald added a project: All.
ychen requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121236

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121236.413880.patch
Type: text/x-patch
Size: 17253 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220308/c7cd3bae/attachment.bin>


More information about the llvm-commits mailing list