llvm-project/llvm/lib
Alexandre Ganea a3036b3863 Re-Re-land: [CodeView] Add full repro to LF_BUILDINFO record
This patch adds the missing information to the LF_BUILDINFO record, which allows for rebuilding a .CPP without any external dependency but the .OBJ itself (other than the compiler).

Some external tools that we are using (Recode, Live++) are extracting the information to reproduce a build without any knowledge of the build system. The LF_BUILDINFO stores a full path to the compiler, the PWD (CWD at program startup), a relative or absolute path to the TU, and the full CC1 command line. The command line needs to be freestanding (not depend on any environment variables). In the same way, MSVC doesn't store the provided command-line, but an expanded version (somehow their equivalent of CC1) which is also freestanding.

For more information see PR36198 and D43002.

Differential Revision: https://reviews.llvm.org/D80833
2020-08-10 13:36:30 -04:00
..
Analysis [NFC][MLInliner] remove curly braces for a few sinle-line loops 2020-08-10 09:32:21 -07:00
AsmParser [LLParser,NFC] Simplify forward GV refs update 2020-08-06 19:18:51 -07:00
BinaryFormat AMDGPU: Remove .value_type from kernel metadata 2020-07-10 18:16:31 -04:00
Bitcode [NFC] Move BitcodeCommon.h from Bitstream to Bitcode 2020-07-27 20:49:17 +00:00
Bitstream [Bitcode] reserve in front of push_back loops. NFCI. 2020-05-01 15:52:53 +02:00
CodeGen Re-Re-land: [CodeView] Add full repro to LF_BUILDINFO record 2020-08-10 13:36:30 -04:00
DWARFLinker [Clang] Restore replace_path_prefix instead of startswith 2020-05-13 13:49:14 -04:00
DebugInfo [DebugInfo] Don't error for zero-length arange entries 2020-08-10 14:57:52 +01:00
Demangle [NFC] Use std::free instead of ::free 2020-07-20 16:19:08 -04:00
ExecutionEngine [JITLink][MachO][AArch64] More PAGEOFF12 relocation fixes. 2020-08-05 21:09:45 -07:00
Extensions Update compiler extension integration into the build system 2020-04-24 09:40:14 +02:00
Frontend [OpenMP][IRBuilder] Support allocas in nested parallel regions 2020-07-30 10:19:39 -05:00
FuzzMutate [NewPM][LSR] Rename strength-reduce -> loop-reduce 2020-07-02 11:15:29 -07:00
Fuzzer
IR [StackSafety] Use getSignedMin() to serialize ranges 2020-08-09 14:53:13 -07:00
IRReader Infer alignment of unmarked loads in IR/bitcode parsing. 2020-05-14 13:03:50 -07:00
LTO [NewPM] Support optnone under new pass manager 2020-07-21 09:53:43 -07:00
LineEditor
Linker Revert rG5dd566b7c7b78bd- "PassManager.h - remove unnecessary Function.h/Module.h includes. NFCI." 2020-07-24 13:02:33 +01:00
MC [XCOFF] Adjust .rename emission sequence 2020-08-10 14:48:24 +00:00
MCA [MCA][InstrBuilder] Correctly mark reserved resources in initializeUsedResources. 2020-05-10 19:25:54 +01:00
Object [llvm-readobj] - Make decode_relrs() don't return Expected<>. NFCI. 2020-08-05 17:05:47 +03:00
ObjectYAML [DWARFYAML][debug_info] Make the 'Values' field optional. 2020-08-06 20:43:52 +08:00
Option [llvm-symbolizer] Switch command line parsing from llvm::cl to OptTable 2020-08-04 08:53:15 -07:00
Passes [NewPM] Print 'Skipping pass' as pass instrumentation 2020-08-07 15:02:02 -07:00
ProfileData [llvm-cov] reset executation count to 0 after wrapped segment 2020-08-04 18:38:44 -07:00
Remarks BitstreamRemarkParser.h - remove unnecessary includes. NFCI. 2020-08-06 13:17:53 +01:00
Support Revert "[CMake] Simplify CMake handling for zlib" 2020-08-08 17:08:23 -07:00
TableGen [TableGen][CGS] Print better errors on overlapping InstRW 2020-07-27 09:41:10 -06:00
Target [BreakFalseDeps][X86] Move operand loop out of X86's getUndefRegClearance and put in the pass. 2020-08-10 10:32:29 -07:00
Testing Use INTERFACE_COMPILE_OPTIONS to disable -Wsuggest-override for any target that links to gtest 2020-07-27 08:37:01 -07:00
TextAPI [TextAPI/MachO] Fix style issues. NFC 2020-06-24 14:43:45 -07:00
ToolDrivers [llvm-lib] Support adding short import library objects with llvm-lib 2020-07-24 22:15:08 +03:00
Transforms [PGO] Delete dead comdat renaming code related to GlobalAlias. NFC 2020-08-10 09:02:04 -07:00
WindowsManifest
XRay [xray] Add llvm-xray extract support for 32 bit ARM 2020-05-28 18:41:11 -04:00
CMakeLists.txt Update compiler extension integration into the build system 2020-04-24 09:40:14 +02:00
LLVMBuild.txt Update compiler extension integration into the build system 2020-04-24 09:40:14 +02:00