[PATCH] D20681: Add target-specific pre-linking passes to Clang
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Thu May 26 07:35:56 PDT 2016
yaxunl created this revision.
yaxunl added reviewers: rsmith, Anastasia.
yaxunl added subscribers: cfe-commits, tstellarAMD.
Sometimes a backend needs to apply certain target-specific passes before linking. This patch attempts to add that.
It depends on a new virtual member function addPreLinkPasses to be added to TargetMachine, which will be implemented by a separate patch for llvm.
http://reviews.llvm.org/D20681
Files:
include/clang/CodeGen/BackendUtil.h
lib/CodeGen/BackendUtil.cpp
lib/CodeGen/CodeGenAction.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20681.58609.patch
Type: text/x-patch
Size: 8153 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160526/e4e99feb/attachment-0001.bin>
More information about the cfe-commits
mailing list