llvm-project
7517a1bb - [LLDB][SBSaveCoreOptions] Add new API to expose the expected core size in bytes (#138169)

Commit
145 days ago
[LLDB][SBSaveCoreOptions] Add new API to expose the expected core size in bytes (#138169) My current internal work requires some sensitivity to IO usage. I had a work around to calculate the expected size of a Minidump, but I've added this PR so an automated system could look at the expected size of an LLDB generated Minidump and then choose if it has the space or wants to generate it. There are some prerequisites to calculating the correct size, so I have the API take a reference for an SBError, I originally tried to return an SBError and instead take a uint64_t reference, but this made the API very difficult to use in python. Added a test case as well.
Author
Parents
Loading