The function `symbolizeAddresses` is used by debugify to symbolize addresses captured in the current invocation of LLVM, which it does by executing llvm-symbolizer with temporary input and output files. Creating the temporary files has an explicit sandbox exclusion, as temporary files are necessarily not part of the compiler's formal output, but attempting to read back the output file via MemoryBuffer triggers a sandbox violation. Since we are always only operating on temporary files within symbolizeAddresses, this patch disables the IO sandbox in that function.
14 KiB
14 KiB