[lldb-dev] [Bug 39500] New: Segfault when evaluating STL expression

2018-10-30 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=39500

Bug ID: 39500
   Summary: Segfault when evaluating STL expression
   Product: lldb
   Version: unspecified
  Hardware: PC
OS: All
Status: NEW
  Severity: enhancement
  Priority: P
 Component: All Bugs
  Assignee: lldb-dev@lists.llvm.org
  Reporter: ldio...@apple.com
CC: llvm-b...@lists.llvm.org

When evaluating some STL expression, lldb segfaults. This only seems to happen
with a recent Clang and LLDB, which may be related to the removal of
`always_inline` from libc++ shipped with recent Clangs.

This bug is a reduction of the STL-related failure that started happening in
http://green.lab.llvm.org/green/job/lldb-cmake/11896.

Here's the reproduction (with Trunk Clang and LLDB):

```
#!/bin/sh

cat > t.cpp <
#include 
#include 
int main() {
std::string hello_world = "Hello World!";
std::map associative_array;
associative_array[hello_world] = 1;
associative_array.count(hello_world);
std::printf("before returning\n"); // Set break point at this line.
}
EOF

clang++ t.cpp -O0 -g
lldb a.out
```

Then, from within lldb:
```
breakpoint set -l 9
run
expr associative_array.count(hello_world)
expr associative_array.count(hello_world)
```

The evaluation works the first time around, but fails the second time around
with a segfault.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] [Bug 39500] Segfault when evaluating STL expression

2018-10-30 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=39500

Davide Italiano  changed:

   What|Removed |Added

   Assignee|lldb-dev@lists.llvm.org |syaghm...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] November LLVM bay-area social is this Thursday!

2018-10-30 Thread George Burgess IV via lldb-dev
We'll be at Tied House as usual, starting on Thursday the 1st at 7pm!

If you can, help us plan and RSVP here:
https://www.meetup.com/LLVM-Bay-Area-Social/events/kncsjlyxpbcb/

See everyone there!
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] LLVM 7.0.1-rc1 release on Thursday

2018-10-30 Thread Tom Stellard via lldb-dev
Hi,

I'm planning to do the LLVM 7.0.1-rc1 release on Thursday.  This is really
just a snapshot release of the current release branch, but It's still
important that it gets testing.  You still have until Nov 21 to get
patches into the final release, so you can keep sending me merge
requests.

I would also really like to get the gcc/clang abi mismatch bug[1]
fixed for this release.  If you have any suggestions for how to fix
it, let me know.  We actually need two different fixes, one for trunk
and one for the release_70 branch which is able to maintain the current ABI.

Thanks,
Tom

[1] https://bugs.llvm.org/show_bug.cgi?id=39427
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev