<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi David,<div class=""><br class=""></div><div class="">I understand what you say, but have you actually read my messages? I don’t think so,</div><div class=""><br class=""></div><div class="">Anyway, I will repost the question in case someone else can help.</div><div class=""><br class=""></div><div class="">Thanks</div><div class=""><br class=""></div><div class="">John</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On 4 Nov 2019, at 22:18, Zachary Turner <<a href="mailto:zturner@roblox.com" class="">zturner@roblox.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><br class=""></div><br class=""><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" class="">llvm-dev@lists.llvm.org</a>> wrote:<br class=""></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;" class="">Hi David,<div class=""><br class=""></div><div class="">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 class=""><br class=""></div></div></blockquote><div class="">This is the output you pasted after running the command:</div><div class=""><br class=""></div><div class=""><span style="color:rgb(80,0,80)" class="">> "/Users/joan/LLVM-9/llvm-</span><span style="color:rgb(80,0,80)" class="">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)" class="">Relay/RelayNou/main.gcno" "-resource-dir" "/Users/joan/LLVM-9/llvm-</span><span style="color:rgb(80,0,80)" class="">project/build/Debug/lib/clang/</span><span style="color:rgb(80,0,80)" class="">9.0.1" "-internal-isystem" "/Users/joan/LLVM-9/llvm-</span><span style="color:rgb(80,0,80)" class="">project/build/Debug/bin/../</span><span style="color:rgb(80,0,80)" class="">msp430/include" "-Oz" "-fdebug-compilation-dir" "/Users/joan/Documents-Local/</span><span style="color:rgb(80,0,80)" class="">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 class=""><br class=""></div><div class="">Yes it is a list of strings. But the first string <span style="color:rgb(80,0,80)" class="">"/Users/joan/LLVM-9/llvm-</span><span style="color:rgb(80,0,80)" class="">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 class=""><span style="color:rgb(80,0,80)" class=""><br class=""></span></div><div class=""><span style="color:rgb(80,0,80)" class="">"/Users/joan/LLVM-9/llvm-</span><span style="color:rgb(80,0,80)" class="">project/build/Debug/bin/clang"</span> </div><div class=""><br class=""></div><div class="">with these arguments:</div><div class=""><br class=""></div><div class=""><span style="color:rgb(80,0,80)" class="">"-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)" class="">Relay/RelayNou/main.gcno" "-resource-dir" "/Users/joan/LLVM-9/llvm-</span><span style="color:rgb(80,0,80)" class="">project/build/Debug/lib/clang/</span><span style="color:rgb(80,0,80)" class="">9.0.1" "-internal-isystem" "/Users/joan/LLVM-9/llvm-</span><span style="color:rgb(80,0,80)" class="">project/build/Debug/bin/../</span><span style="color:rgb(80,0,80)" class="">msp430/include" "-Oz" "-fdebug-compilation-dir" "/Users/joan/Documents-Local/</span><span style="color:rgb(80,0,80)" class="">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)" class=""><br class=""></span></div><div class=""><span style="color:rgb(80,0,80)" class=""><br class=""></span></div><div class=""><span style="color:rgb(80,0,80)" class="">Does that make sense?</span></div></div></div>
</div></blockquote></div><br class=""></div></body></html>