Re: [lldb-dev] LLDB sometimes escapes unicode characters, sometimes not

2020-03-23 Thread Jaroslav Sevcik via lldb-dev
Attempt at a fix: https://reviews.llvm.org/D76650 On Mon, Mar 23, 2020 at 5:22 PM Lutz Justen via lldb-dev < lldb-dev@lists.llvm.org> wrote: > Sorry, the link was internal. Here's the proper on: > > https://github.com/llvm-mirror/lldb/blob/master/source/Core/FormatEntity.cpp#L861 > > > On Mon, Ma

Re: [lldb-dev] lldb-instr not working

2020-03-23 Thread Jonas Devlieghere via lldb-dev
Hi Walter, lldb-instr needs compile_commands.json file to figure out the exact compiler invocation for every file. Can you verify that the file exists in the directory you're running lldb-instr from? Cheers, Jonas On Mon, Mar 23, 2020 at 1:29 PM Walter via lldb-dev wrote: > Hi, I've recently t

[lldb-dev] lldb-instr not working

2020-03-23 Thread Walter via lldb-dev
Hi, I've recently tried to use lldb-instr, as mentioned in https://lldb.llvm.org/resources/sbapi.html, but I'm having the following issue when running it on darwin. ./lldb-instr > LLVM ERROR: Unable to find target for this triple (no targets are registered) Is this a known issue? Or should lldb-i

[lldb-dev] [10.0.0 Release] Release Candidate 6 is here

2020-03-23 Thread Hans Wennborg via lldb-dev
Dear everyone, I had hoped rc5 would be the last one, but we needed to pick up yet another fix. Release candidate 6 was tagged as llvmorg-10.0.0-rc6 on the release/10.x branch at d32170dbd5b. It picks up the fix for https://llvm.org/pr45270 Source code and docs are available at https://prereleas

Re: [lldb-dev] LLDB sometimes escapes unicode characters, sometimes not

2020-03-23 Thread Lutz Justen via lldb-dev
Sorry, the link was internal. Here's the proper on: https://github.com/llvm-mirror/lldb/blob/master/source/Core/FormatEntity.cpp#L861 On Mon, Mar 23, 2020 at 4:00 PM Lutz Justen wrote: > Hey, > > We've noticed that LLDB sometimes escapes certain characters (e.g. in the > +128/negative range) of

[lldb-dev] LLDB sometimes escapes unicode characters, sometimes not

2020-03-23 Thread Lutz Justen via lldb-dev
Hey, We've noticed that LLDB sometimes escapes certain characters (e.g. in the +128/negative range) of const char* strings and sometimes it doesn't. In particular, this happens for unicode strings: C++: const char* str = u8"😂"; LLDB: (lldb) expr str (const char *) $0 = 0x7ff662489d18 "≡ƒÿé"

Re: [lldb-dev] [cfe-dev] [10.0.0 Release] Release Candidate 5 is here

2020-03-23 Thread Hans Wennborg via lldb-dev
I think it's too late for this, but distributions that install the tool like that may want to take that patch downstream. On Mon, Mar 23, 2020 at 9:55 AM James Henderson wrote: > > Hi Hans, > > I don't know if you'll be planning on RC6, but this bug: > https://bugs.llvm.org/show_bug.cgi?id=45271

Re: [lldb-dev] [cfe-dev] [10.0.0 Release] Release Candidate 5 is here

2020-03-23 Thread James Henderson via lldb-dev
Hi Hans, I don't know if you'll be planning on RC6, but this bug: https://bugs.llvm.org/show_bug.cgi?id=45271 was just filed as a regression in LLVM 10 versus LLVM 9, and looks like it could break things (potentially silently) for at least some installations of llvm-strip. There's a fix that's ba