Re: [lldb-dev] filenames in a cross-platform environment
On Thu, Aug 27, 2015 at 09:48:10PM -0700, Duane Ellis wrote: > Today - you are talking about LLDB - which potentially has python under the > hood. This can't be in python - the main LLDB code needs to support it. * LLVM supports it using a preprocessor define, which obviously won't work because it is compiled in. LLVM will have to be made to check flags at runtime. * LLDB can be fixed to support both via it's PathSyntax functionality, but the question is how to do this cleanly. I proposed adding an option. > My solution worked like this: > > When GDB failed to find the filename by ???the normal means??? - I made GDBTK > call a TCL/TK function > > If that function did not exist - the code just gave up - too bad you do not > get to find the file. > This was the default action if you (the user) did not provide a lookup > function. > > If that function existed - in my case, we wrote one or two functions for each > project > And, when you launched GDB we just did a ???source project_paths.tcl??? in > the .gdbinit script Yeah, that was the gdb way of supporting alternate functionality (to check if a function was defined and call it) - it worked pretty well. It doesn't really fit in well with LLDB design however. LLDB's way of supporting alternate functionalities is through plugins or options. In this case an option seems most reasonable. Thanks, -Dawn ___ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
Re: [lldb-dev] [3.7 Release] 3.7.0-final has been tagged
Uploaded: 70eff9d3bfc2361a440358cb46216383e562479e clang+llvm-3.7.0-i586-opensuse13.2.tar.xz 732cf3f91888b09d7c1bee475b7ba39032fcaa6b clang+llvm-3.7.0-i686-fedora22.tar.xz 390534a5a7b87b855285271be1dd3ecee17e3da8 clang+llvm-3.7.0-x86_64-fedora22.tar.xz c5cb2000d563511ba81ce86419eaa1bef64ab19f clang+llvm-3.7.0-x86_64-opensuse13.2.tar.xz On Sat, Aug 29, 2015 at 5:34 AM, Dimitry Andric wrote: > On 28 Aug 2015, at 20:12, Hans Wennborg wrote: > > > > On Thu, Aug 27, 2015 at 6:46 PM, Hans Wennborg > wrote: > >> I have promoted RC4 to final; 3.7.0 has reached its final state. > >> > >> Thanks for all your hard work so far. Please build and upload binaries > >> with "-final", and let's ship this next week! > > > > Windows binaries uploaded. sha1sums: > > > > 44400734e1cbe1cfef3fc3ea03d8cba31ee50e66 LLVM-3.7.0-win32.exe > > 70aec264a5bfce1b5e596d93762e0481cb896a6b LLVM-3.7.0-win64.exe > > No building or testing problems encountered on FreeBSD 10. The only > strange thing is that relative to -rc4, I now got a lot more "differs > between phase 2 and phase 3" messages. But this is probably due to turning > off assertions. > > Uploaded: > > SHA256 (clang+llvm-3.7.0-i386-unknown-freebsd10.tar.xz) = > 07cf94ddff7c4dff112eeadb95aab1b905cd40a3462c6afd808988164146d880 > SHA256 (clang+llvm-3.7.0-amd64-unknown-freebsd10.tar.xz) = > fe8c7136d254a4a25967c4d8d97f48a985cb594fe5c864dc234526a6bacfebe2 > > -Dimitry > > ___ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev