diff options
| author | John Brawn <john.brawn@arm.com> | 2023-02-21 11:09:26 +0000 |
|---|---|---|
| committer | John Brawn <john.brawn@arm.com> | 2023-03-20 17:36:01 +0000 |
| commit | 72073fc95cd4793a853925ddc8cc3fb2118808a5 (patch) | |
| tree | 40bae3267ad7f57f9d9003f0220a80a719d810df /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp | |
| parent | cd11f55a0c6d8524f9ac494d26514d4d72d83435 (diff) | |
[Serialization] Place command line defines in the correct file
Fix several problems related to serialization causing command line
defines to be reported as being built-in defines:
* When serializing the <built-in> and <command line> files don't
convert them into absolute paths.
* When deserializing SM_SLOC_BUFFER_ENTRY we need to call
setHasLineDirectives in the same way as we do for
SM_SLOC_FILE_ENTRY.
* When created suggested predefines based on the current command line
options we need to add line markers in the same way that
InitializePreprocessor does.
* Adjust a place in clangd where it was implicitly relying on command
line defines being treated as builtin.
Differential Revision: https://reviews.llvm.org/D144651
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
