aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectPlatform.cpp
diff options
context:
space:
mode:
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>2020-08-10 13:36:20 -0400
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>2020-08-10 13:36:30 -0400
commita3036b386383f1c1e9d32c2c8dba995087959da3 (patch)
tree0b49792aaebbf369109be34c9f4e1427054f6140 /lldb/source/Commands/CommandObjectPlatform.cpp
parent96dfc783b2bf2eca9b01c6b2161a375cc3ea704d (diff)
downloadllvm-a3036b386383f1c1e9d32c2c8dba995087959da3.zip
llvm-a3036b386383f1c1e9d32c2c8dba995087959da3.tar.gz
llvm-a3036b386383f1c1e9d32c2c8dba995087959da3.tar.bz2
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
Diffstat (limited to 'lldb/source/Commands/CommandObjectPlatform.cpp')
0 files changed, 0 insertions, 0 deletions