1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/include/llvm
Steven Wu feb609a738 [ThinLTO] Adding architecture name into saved object filename
Summary:
For ThinLTOCodegenerator, it has an option to save the object file
outputs into a directory which is essential for debug info. Tools like lldb
and dsymutil will look for these object files for debug info.

On Darwin platform, you can link fat binaries with one single clang
driver invocation like:
 $ clang -arch x86_64 -arch i386 -Wl,-object_path_lto,$TMPDIR ...
Unfornately, the output object files for one architecture is going to
overwrite the previous ones and one architecture slice will end up with
no debug info. One example for this is to turn on ThinLTO for sanitizer
dylibs in compiler-rt project.

To fix the issue, add the name for the architecture into the name of the
output object file.

rdar://problem/35482935

Reviewers: tejohnson, bd1976llvm, dexonsmith, JDevlieghere

Reviewed By: dexonsmith

Subscribers: mehdi_amini, aprantl, inglorion, eraman, hiraditya, jkorous, dang, llvm-commits

Tags: #llvm

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

llvm-svn: 359508
2019-04-29 21:39:54 +00:00
..
ADT [APSInt][OpenMP] Fix isNegative, etc. for unsigned types 2019-04-23 17:04:15 +00:00
Analysis Consolidate existing utilities for interpreting vector predicate maskes [NFC] 2019-04-25 02:30:17 +00:00
AsmParser
BinaryFormat [Object][XCOFF] Add intial support for section header table. 2019-04-25 21:36:04 +00:00
Bitcode Add LLVM IR debug info support for Fortran COMMON blocks 2019-04-08 19:13:55 +00:00
CodeGen [globalisel] Improve Legalizer debug output 2019-04-29 18:45:59 +00:00
Config Moved everything SMT-related to LLVM and updated the cmake scripts. 2019-03-25 17:47:45 +00:00
DebugInfo s/Dwarf 5/DWARF v5/ NFC 2019-04-26 13:41:19 +00:00
Demangle llvm-undname: Support demangling the spaceship operator 2019-04-23 16:20:27 +00:00
ExecutionEngine [ORC] Add a 'plugin' interface to ObjectLinkingLayer for events/configuration. 2019-04-26 22:58:39 +00:00
FuzzMutate
IR [ConstantRange] Add makeExactNoWrapRegion() 2019-04-28 15:40:56 +00:00
IRReader [IRReader] Expose getLazyIRModule 2019-02-11 22:01:13 +00:00
LineEditor
Linker
LTO [ThinLTO] Adding architecture name into saved object filename 2019-04-29 21:39:54 +00:00
MC [llvm] Prevent duplicate files in debug line header in dwarf 5: another attempt 2019-04-19 02:26:56 +00:00
MCA [MCA] Add field IsEliminated to class Instruction. NFCI 2019-04-27 11:59:11 +00:00
Object [Object][XCOFF] Add intial support for section header table. 2019-04-25 21:36:04 +00:00
ObjectYAML MinidumpYAML: Add support for ModuleList stream 2019-04-18 14:57:31 +00:00
Option
Passes [LICM & MemorySSA] Make limit flags pass tuning options. 2019-04-19 17:46:50 +00:00
ProfileData The error message for mismatched value sites is very cryptic. 2019-04-23 22:26:55 +00:00
Remarks [Remarks] Add string deduplication using a string table 2019-04-24 00:06:24 +00:00
Support FileCheck [3/12]: Stricter parsing of @LINE expressions 2019-04-29 17:46:26 +00:00
TableGen [TableGen] Introduce !listsplat 'binary' operator 2019-04-10 18:26:36 +00:00
Target Fix typos: (re)?sor?uce -> (re)?source 2019-04-26 05:56:23 +00:00
Testing/Support [Testing] Move clangd::Annotations to llvm testing support 2019-04-25 10:08:31 +00:00
TextAPI [TextAPI] Fix off-by-one error in the bit index extraction loop 2019-04-05 12:58:15 +00:00
ToolDrivers
Transforms [BlockExtractor] Expose a constructor for the group extraction 2019-04-29 16:14:02 +00:00
WindowsManifest
WindowsResource
XRay
CMakeLists.txt
InitializePasses.h Add basic loop fusion pass. 2019-04-17 18:53:27 +00:00
LinkAllIR.h
LinkAllPasses.h Recommit r354930 "[PGO] Context sensitive PGO (part 1)" 2019-02-27 17:24:33 +00:00
module.extern.modulemap
module.install.modulemap
module.modulemap Update modulemaps for Analysis/VecFuncs.def. 2019-04-09 17:05:36 +00:00
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h