[cfe-dev] clang bus error

Nico Weber nicolasweber at gmx.de
Wed Dec 26 03:51:16 PST 2007


> $ cat test.m
> int main() {
>   @"bla";
> }
> $./clang test.m
> running "/Users/nico/src/llvm-svn/Debug/bin/clang -fsyntax-only  
> test.m"
> 0   clang                               0x0021ee1d
> _ZN40_GLOBAL__N_Signals.cpp_00000000_6071175B15PrintStackTraceEv + 45
> 1   clang                               0x0021f1c3

*snip*

> ./clang: line 35: 31432 Bus error               $command

The attached patch fixes this problem. I'm not sure if I've put the  
test in the right place since it's a regression test for the parser  
pretending to be a sema test. Feel free to put it somewhere else.

Nico

-------------- next part --------------
A non-text attachment was scrubbed...
Name: unused_nsstring.patch
Type: application/octet-stream
Size: 1051 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20071226/d052f2a7/attachment.obj>
-------------- next part --------------



More information about the cfe-dev mailing list