]> granicus.if.org Git - clang/commit
Driver: begin threading frontend support for SymbolRewriter
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 9 Jan 2015 05:10:20 +0000 (05:10 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 9 Jan 2015 05:10:20 +0000 (05:10 +0000)
commit1928b9aa4147faf4c8dbe6ffe04e809f6dccef16
treefcfb797c14e098c32b452109eb79669ac4d31445
parent659e92bcfa578a0bf2cd1f9f50bcaa16c782a41b
Driver: begin threading frontend support for SymbolRewriter

Allow blessed access to the symbol rewriter from the driver. Although the
symbol rewriter could be invoked through tools like opt and llc, it would not
accessible from the frontend. This allows us to read the rewrite map files in
the frontend rather than the backend and enable symbol rewriting for actually
performing the symbol interpositioning.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@225504 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
include/clang/Frontend/CodeGenOptions.h
lib/CodeGen/BackendUtil.cpp
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
test/Driver/symbol-rewriter.c [new file with mode: 0644]