<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 4, 2019 at 1:11 PM Joan Lluch via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Hi David,<div><br></div><div>Thank you for your patience but I still don’t get it:  I don’t see how that is a “command”, as it’s just a list of strings that state command options.</div><div><br></div></div></blockquote><div>This is the output you pasted after running the command:</div><div><br></div><div><span style="color:rgb(80,0,80)">> "/Users/joan/LLVM-9/llvm-</span><span style="color:rgb(80,0,80)">project/build/Debug/bin/clang" "-cc1" "-triple" "msp430" "-emit-llvm" "-disable-free" "-main-file-name" "main.c" "-mrelocation-model" "static" "-mthread-model" "posix" "-fmath-errno" "-masm-verbose" "-mconstructor-aliases" "-nostdsysteminc" "-dwarf-column-info" "-debugger-tuning=gdb" "-target-linker-version" "305" "-momit-leaf-frame-pointer" "-coverage-notes-file" "/Users/joan/Documents-Local/</span><span style="color:rgb(80,0,80)">Relay/RelayNou/main.gcno" "-resource-dir" "/Users/joan/LLVM-9/llvm-</span><span style="color:rgb(80,0,80)">project/build/Debug/lib/clang/</span><span style="color:rgb(80,0,80)">9.0.1" "-internal-isystem" "/Users/joan/LLVM-9/llvm-</span><span style="color:rgb(80,0,80)">project/build/Debug/bin/../</span><span style="color:rgb(80,0,80)">msp430/include" "-Oz" "-fdebug-compilation-dir" "/Users/joan/Documents-Local/</span><span style="color:rgb(80,0,80)">Relay/RelayNou" "-ferror-limit" "19" "-fmessage-length" "224" "-fobjc-runtime=gcc" "-fdiagnostics-show-option" "-fcolor-diagnostics" "-vectorize-slp" "-faddrsig" "-o" "main.ll" "-x" "c" "main.c"</span> </div><div><br></div><div>Yes it is a list of strings.  But the first string <span style="color:rgb(80,0,80)">"/Users/joan/LLVM-9/llvm-</span><span style="color:rgb(80,0,80)">project/build/Debug/bin/clang" is a command.  The rest are arguments.  So you should set your debugger to run this command:</span></div><div><span style="color:rgb(80,0,80)"><br></span></div><div><span style="color:rgb(80,0,80)">"/Users/joan/LLVM-9/llvm-</span><span style="color:rgb(80,0,80)">project/build/Debug/bin/clang"</span> </div><div><br></div><div>with these arguments:</div><div><br></div><div><span style="color:rgb(80,0,80)">"-cc1" "-triple" "msp430" "-emit-llvm" "-disable-free" "-main-file-name" "main.c" "-mrelocation-model" "static" "-mthread-model" "posix" "-fmath-errno" "-masm-verbose" "-mconstructor-aliases" "-nostdsysteminc" "-dwarf-column-info" "-debugger-tuning=gdb" "-target-linker-version" "305" "-momit-leaf-frame-pointer" "-coverage-notes-file" "/Users/joan/Documents-Local/</span><span style="color:rgb(80,0,80)">Relay/RelayNou/main.gcno" "-resource-dir" "/Users/joan/LLVM-9/llvm-</span><span style="color:rgb(80,0,80)">project/build/Debug/lib/clang/</span><span style="color:rgb(80,0,80)">9.0.1" "-internal-isystem" "/Users/joan/LLVM-9/llvm-</span><span style="color:rgb(80,0,80)">project/build/Debug/bin/../</span><span style="color:rgb(80,0,80)">msp430/include" "-Oz" "-fdebug-compilation-dir" "/Users/joan/Documents-Local/</span><span style="color:rgb(80,0,80)">Relay/RelayNou" "-ferror-limit" "19" "-fmessage-length" "224" "-fobjc-runtime=gcc" "-fdiagnostics-show-option" "-fcolor-diagnostics" "-vectorize-slp" "-faddrsig" "-o" "main.ll" "-x" "c" "main.c"</span><span style="color:rgb(80,0,80)"><br></span></div><div><span style="color:rgb(80,0,80)"><br></span></div><div><span style="color:rgb(80,0,80)">Does that make sense?</span></div></div></div>