http://llvm.org/bugs/show_bug.cgi?id=17289

David Blaikie <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |FIXED

--- Comment #3 from David Blaikie <[email protected]> ---
I don't see the behavior described - I've been fixing a bunch of line table
things (including dtor locations) recently, so perhaps this is fixed. 

At clang -O0, -g, stepping through with GDB 7.8 I see the following:

Breakpoint 1, vector_replace (input=..., ops=0x4050e0 <main::replacements>,
len=1) at next_jumping.cpp:64
64        std::vector<std::string> tokens;
(gdb) n
65        for (size_t i = 0; i < len; ++i) {
(gdb) 
66          if (input.find(ops[i][0]) != input.npos) {
(gdb) 
67            tokens.clear();
(gdb) 
68            split(input, ops[i][0], std::back_inserter(tokens));
(gdb) 
69            input = join(tokens.begin(), tokens.end(), ops[i][1]);
(gdb) 
70          }
(gdb) 
71        }
(gdb) 
65        for (size_t i = 0; i < len; ++i) {
(gdb) 
72        return std::move(input);
(gdb) 
73      }

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to