mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
35da2d3b6b
rL333307 was introduced to remove automatic target triple normalization when calling sys::getDefaultTargetTriple(), arguing that users of the latter already called Triple::normalize() if necessary. However, users of the C API currently have no way of doing target triple normalization. This patch introduces an LLVMNormalizeTargetTriple function to the C API which wraps Triple::normalize() and can be used on the result of LLVMGetDefaultTargetTriple to achieve the same effect. Differential Revision: https://reviews.llvm.org/D49414 Reviewed By: whitequark llvm-svn: 337263 |
||
---|---|---|
.. | ||
Transforms | ||
Analysis.h | ||
BitReader.h | ||
BitWriter.h | ||
Comdat.h | ||
Core.h | ||
DataTypes.h | ||
DebugInfo.h | ||
Disassembler.h | ||
DisassemblerTypes.h | ||
ErrorHandling.h | ||
ExecutionEngine.h | ||
Initialization.h | ||
IRReader.h | ||
Linker.h | ||
LinkTimeOptimizer.h | ||
lto.h | ||
module.modulemap | ||
Object.h | ||
OrcBindings.h | ||
Support.h | ||
Target.h | ||
TargetMachine.h | ||
Types.h |