Displaying 2 results from an estimated 2 matches for "fileactions".
2019 Nov 04
4
Debugging clang with debugger breakpoints ?
...ks fine, but only on the main thread. However breakpoints do not work with the code that was invoked as a child process with posix_spawn
The call to posix_spawn happens in file “Program.inc” on the ‘Execute' function. The actual call is this
Err = posix_spawn(&PID, Program.str().c_str(), FileActions,
/*attrp*/ nullptr, const_cast<char **>(Argv),
const_cast<char **>(Envp));
the variable Program.str() contains "/Users/joan/LLVM-9/llvm-project/build/Debug/bin/clang” at this point, which I got with a breakpoint set at that point.
H...
2019 Nov 04
2
Debugging clang with debugger breakpoints ?
Hi David,
Thank you for your help. Please, can you elaborate on this?. The command line that I get with -### starts with this:
clang version 9.0.1 (https://github.com/llvm/llvm-project.git 6e38ee067b8fa08792f551fb565bbb8ada4864b1)
Target: msp430
Thread model: posix
InstalledDir: /Users/joan/LLVM-9/llvm-project/build/Debug/bin
"/Users/joan/LLVM-9/llvm-project/build/Debug/bin/clang"