From bugzilla-daemon at llvm.org Thu Nov 1 02:18:27 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 01 Nov 2012 09:18:27 +0000
Subject: [LLVMbugs] [Bug 14234] Incorrect warning "unused function ..."
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14234
Daniel Jasper changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |djasper at google.com
Resolution| |INVALID
--- Comment #2 from Daniel Jasper 2012-11-01 04:18:27 CDT ---
I think this was a misunderstanding of unnamed namespaces. Works as intended.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 1 03:27:53 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 01 Nov 2012 10:27:53 +0000
Subject: [LLVMbugs] [Bug 14233] jump-threading crash
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14233
Chandler Carruth changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |chandlerc at gmail.com
Resolution| |FIXED
--- Comment #1 from Chandler Carruth 2012-11-01 05:27:53 CDT ---
"Fixed" by backing out the offending change which will need some thought to
figure out how to correctly design this.
The fixing commit is r167221 and I added this to the jump threading crasher
test cases in r167224.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 1 10:14:27 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 01 Nov 2012 17:14:27 +0000
Subject: [LLVMbugs] [Bug 14229] Clang crashes when enum values are declared
to be bitwise ORs of values from different enum
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14229
Ryan Molden changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #2 from Ryan Molden 2012-11-01 12:14:27 CDT ---
Ugggh, this apparently had to do with some changes I had made locally long,
long ago and forgotten about, sorry for the false alarm.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 1 10:15:00 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 01 Nov 2012 17:15:00 +0000
Subject: [LLVMbugs] [Bug 14232] Clang crashes comparing unsigned short to
enum value
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14232
Ryan Molden changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #5 from Ryan Molden 2012-11-01 12:15:00 CDT ---
Ugggh, this apparently had to do with some changes I had made locally long,
long ago and forgotten about, sorry for the false alarm.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 1 11:45:10 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 01 Nov 2012 18:45:10 +0000
Subject: [LLVMbugs] [Bug 14235] New: Linking modules in different order
produces different results
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14235
Bug #: 14235
Summary: Linking modules in different order produces different
results
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Linker
AssignedTo: unassignedbugs at nondot.org
ReportedBy: xiao_yi_guo at yahoo.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Given three modules:
-----------------------------------------------------------------
s1.ll:
%0 = type <{ i32, i32 }>
define void @s1(%0* byval %myStruct) nounwind {
return:
ret void
}
-----------------------------------------------------------------
s2.ll:
%0 = type <{ i32, i32 }>
define void @s2(%0* byval %myStruct) nounwind {
return:
ret void
}
-----------------------------------------------------------------
s3.ll:
%0 = type <{ i32, i32 }>
declare void @s1(%0* byval) nounwind readonly declare void @s2(%0* byval)
nounwind readonly
define void @s3(%0* byval %myStruct) nounwind {
call void @s1(%0* %myStruct) nounwind
call void @s2(%0* %myStruct) nounwind
ret void
}
-----------------------------------------------------------------
If they are linked in one order:
$ llvm-link -o s.bc s1.ll s2.ll s3.ll
The linked IR is:
%0 = type <{ i32, i32 }>
%1 = type <{ i32, i32 }>
define void @s1(%0* byval %myStruct) nounwind {
return:
ret void
}
define void @s2(%1* byval %myStruct) nounwind {
return:
ret void
}
define void @s3(%0* byval %myStruct) nounwind {
call void @s1(%0* %myStruct) nounwind
call void bitcast (void (%1*)* @s2 to void (%0*)*)(%0* %myStruct) nounwind
ret void
}
-----------------------------------------------------------------
If they are linked in a different order:
$ llvm-link -o s.bc s3.ll s1.ll s2.ll
The linked IR is:
%0 = type <{ i32, i32 }>
define void @s3(%0* byval %myStruct) nounwind {
call void @s1(%0* %myStruct) nounwind
call void @s2(%0* %myStruct) nounwind
ret void
}
define void @s1(%0* byval %myStruct) nounwind {
return:
ret void
}
define void @s2(%0* byval %myStruct) nounwind {
return:
ret void
}
-----------------------------------------------------------------
The second linked IR should be generated regardless of the order the modules
are linked in.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 1 13:01:51 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 01 Nov 2012 20:01:51 +0000
Subject: [LLVMbugs] [Bug 14118] missing namespace in mangling
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14118
John McCall changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 1 14:20:39 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 01 Nov 2012 21:20:39 +0000
Subject: [LLVMbugs] [Bug 14236] New: Assertion in DiagnosticsBuilder:
NumRanges < DiagnosticsEngine::MaxRanges "Too many arguments to
diagnostic!"
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14236
Bug #: 14236
Summary: Assertion in DiagnosticsBuilder: NumRanges <
DiagnosticsEngine::MaxRanges "Too many arguments to
diagnostic!"
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: qneill at codeaurora.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 1 14:27:19 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 01 Nov 2012 21:27:19 +0000
Subject: [LLVMbugs] [Bug 14236] Assertion in DiagnosticsBuilder: NumRanges <
DiagnosticsEngine::MaxRanges "Too many arguments to diagnostic!"
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14236
Richard Smith changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |richard-llvm at metafoo.co.uk
Resolution| |FIXED
--- Comment #3 from Richard Smith 2012-11-01 16:27:19 CDT ---
This has already been fixed (r167059).
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 1 14:32:55 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 01 Nov 2012 21:32:55 +0000
Subject: [LLVMbugs] [Bug 14015] Clang crashes issuing error message for
clearly invalid code
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14015
rtrieu at google.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #5 from rtrieu at google.com 2012-11-01 16:32:55 CDT ---
Fixed at r167252
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 1 15:30:26 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 01 Nov 2012 22:30:26 +0000
Subject: [LLVMbugs] [Bug 11854] floating point division by 0.0 vs -ftrapv vs
IEEE floating point semantics
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=11854
Richard Smith changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |richard-llvm at metafoo.co.uk
Resolution| |FIXED
--- Comment #1 from Richard Smith 2012-11-01 17:30:26 CDT ---
As of r167258, -ftrapv no longer catches division by zero, and now has the same
behavior as g++'s -ftrapv. -fcatch-undefined-behavior still catches it (and
soon, -fsanitize=divide-by-zero will allow the requested fine-grained control
over this).
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 1 16:16:12 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 01 Nov 2012 23:16:12 +0000
Subject: [LLVMbugs] [Bug 14237] New: Clang crashes on invalid code with
attributes
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14237
Bug #: 14237
Summary: Clang crashes on invalid code with attributes
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: rtrieu at google.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Reproduction:
class Table {
void Foo(int x) {
{
return Foo(Foo(
}
return 1;
}
void Bar() __attribute__((exclusive_locks_required(something)));
};
It appears the crash happens at clang/lib/Parse/ParseCXXInlineMethods.cpp:374
374 Class.LateParsedDeclarations[i]->ParseLexedMethodDefs();
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 1 16:21:58 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 01 Nov 2012 23:21:58 +0000
Subject: [LLVMbugs] [Bug 14238] New: CommandLine.h cl::bits fails to compile
with clang++ and g++ 4.7
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14238
Bug #: 14238
Summary: CommandLine.h cl::bits fails to compile with clang++
and g++ 4.7
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: compile-fail
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: scott+llvm+bugzilla at pakin.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9484
--> http://llvm.org/bugs/attachment.cgi?id=9484
Reproducer that compiles with g++ 4.6 but not g++ 4.7 or clang++
The attached LLVM pass compiles fine with GCC 4.6:
$ g++ --version | head -1
g++ (GCC) 4.6.1
$ llvm-config --cxxflags
-I/ssdsata/pakin/byfl/include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3 -fomit-frame-pointer -g
-fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fPIC
-Woverloaded-virtual -Wcast-qual
$ g++ `llvm-config --cxxflags` hello.cpp -c
...but not with GCC 4.7:
$ g++ --version | head -1
g++ (GCC) 4.7.1
$ g++ `llvm-config --cxxflags` hello.cpp -c
In file included from hello.cpp:4:0:
/ssdsata/pakin/byfl/include/llvm/Support/CommandLine.h: In instantiation of
‘bool llvm::cl::bits::handleOccurrence(unsigned
int, llvm::StringRef, llvm::StringRef) [with DataType = {anonymous}::FailType;
Storage = bool; ParserClass = llvm::cl::parser<{anonymous}::FailType>]’:
hello.cpp:32:72: required from here
/ssdsata/pakin/byfl/include/llvm/Support/CommandLine.h:1510:5: error:
‘addValue’ was not declared in this scope, and no declarations were found by
argument-dependent lookup at the point of instantiation [-fpermissive]
/ssdsata/pakin/byfl/include/llvm/Support/CommandLine.h:1510:5: note:
declarations in dependent base ‘llvm::cl::bits_storage<{anonymous}::FailType,
bool>’ are not found by unqualified lookup
/ssdsata/pakin/byfl/include/llvm/Support/CommandLine.h:1510:5: note: use
‘this->addValue’ instead
...or with Clang++:
$ clang++ `llvm-config --cxxflags` hello.cpp -c
In file included from hello.cpp:4:
/ssdsata/pakin/byfl/include/llvm/Support/CommandLine.h:1510:5: error: use of
undeclared identifier 'addValue'
addValue(Val);
^
this->
hello.cpp:11:3: note: in instantiation of member function
'llvm::cl::bits<::FailType, bool,
llvm::cl::parser<::FailType> >::handleOccurrence' requested here
Fail("fail", cl::NotHidden, cl::CommaSeparated, cl::ValueOptional,
^
/ssdsata/pakin/byfl/include/llvm/Support/CommandLine.h:1476:8: note: must
qualify identifier to find this declaration in dependent base class
void addValue(const T &V) {
^
1 error generated.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 1 17:19:38 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 02 Nov 2012 00:19:38 +0000
Subject: [LLVMbugs] [Bug 12260] Lowering struct copies to memcpy loses tons
of useful TBAA info
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=12260
Dan Gohman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #5 from Dan Gohman 2012-11-01 19:19:38 CDT ---
Yes.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 1 18:09:26 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 02 Nov 2012 01:09:26 +0000
Subject: [LLVMbugs] [Bug 11852] C++ parser crashes
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=11852
rtrieu at google.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |rtrieu at google.com
Resolution| |FIXED
--- Comment #3 from rtrieu at google.com 2012-11-01 20:09:26 CDT ---
Fixed in revision 167268.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 1 18:10:15 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 02 Nov 2012 01:10:15 +0000
Subject: [LLVMbugs] [Bug 14239] New: Crash
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14239
Bug #: 14239
Summary: Crash
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: release blocker
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: dave at boostpro.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9485
--> http://llvm.org/bugs/attachment.cgi?id=9485
Crash log
See enclosed files
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 1 23:30:28 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 02 Nov 2012 06:30:28 +0000
Subject: [LLVMbugs] [Bug 14241] New: LoopIdiomRecognize forms an invalid
memcpy
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14241
Bug #: 14241
Summary: LoopIdiomRecognize forms an invalid memcpy
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: chandlerc at gmail.com
CC: benny.kra at gmail.com, dblaikie at gmail.com,
llvmbugs at cs.uiuc.edu
Classification: Unclassified
Consider the following test case:
% cat bug.cpp
struct S { int v; };
void f(S *s, unsigned size) {
S *i = s, *e = s + size - 1;
while (i != e) {
*i = *(i + 1);
++i;
}
}
% ./bin/clang -S -emit-llvm -o - -O1 bug.cpp
; ModuleID = 'bug.cpp'
target datalayout =
"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.S = type { i32 }
define void @_Z1fP1Sj(%struct.S* %s, i32 %size) nounwind uwtable {
entry:
%cmp7 = icmp eq i32 %size, 1
br i1 %cmp7, label %while.end, label %while.cond.while.end_crit_edge
while.cond.while.end_crit_edge: ; preds = %entry
%s9 = bitcast %struct.S* %s to i8*
%scevgep = getelementptr %struct.S* %s, i64 1
%scevgep10 = bitcast %struct.S* %scevgep to i8*
%0 = zext i32 %size to i64
%1 = shl nuw nsw i64 %0, 2
%2 = add i64 %1, -4
call void @llvm.memcpy.p0i8.p0i8.i64(i8* %s9, i8* %scevgep10, i64 %2, i32 4,
i1 false)
br label %while.end
while.end: ; preds =
%while.cond.while.end_crit_edge, %entry
ret void
}
declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture, i64, i32,
i1) nounwind
Note that we produce a single memcpy call based on the loop trip count. This
isn't valid because the destination overlaps with the source. We need to form
memmove if we do this optimization at all.
Many thanks to David Blaikie for the excellent reduction here.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 2 01:40:58 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 02 Nov 2012 08:40:58 +0000
Subject: [LLVMbugs] [Bug 14241] LoopIdiomRecognize forms an invalid memcpy
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14241
Chandler Carruth changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #7 from Chandler Carruth 2012-11-02 03:40:58 CDT ---
(In reply to comment #6)
> I guess so. Is anything else using DependenceAnalysis?
Nope, nothing else is using DependenceAnalysis. This is enough to get us to
"clean" on this front at least.
Reverted in r167286, test case added in r167287.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 2 06:17:48 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 02 Nov 2012 13:17:48 +0000
Subject: [LLVMbugs] [Bug 14213] Handle single quoted strings
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14213
Jan-Simon Möller changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #7 from Jan-Simon Möller 2012-11-02 08:17:48 CDT ---
Closing issue after follow-up discussion. Ignore this patch.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 2 06:46:26 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 02 Nov 2012 13:46:26 +0000
Subject: [LLVMbugs] [Bug 14242] New: typeid() on dereferenced null pointer
does not throw std::bad_typeid
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14242
Bug #: 14242
Summary: typeid() on dereferenced null pointer does not throw
std::bad_typeid
Product: clang
Version: 3.0
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: ulfalizer at gmail.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
No exception is thrown for
#include
int main() { typeid(*(int*)0); }
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 2 07:53:34 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 02 Nov 2012 14:53:34 +0000
Subject: [LLVMbugs] [Bug 14242] typeid() on dereferenced null pointer does
not throw std::bad_typeid
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14242
Ulf Magnusson changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #3 from Ulf Magnusson 2012-11-02 09:53:34 CDT ---
Reading C++03, 5.2.8.2 a second time, it seems this only applies when the
lvalue is a polymorphic class type (which makes sense), and
#include
struct C { virtual ~C(); };
int main() { typeid(*(C*)0); }
does work as expected. (It throws std::bad_typeid.)
Close this as invalid then :).
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 2 09:37:38 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 02 Nov 2012 16:37:38 +0000
Subject: [LLVMbugs] [Bug 14243] New: scan-build should not report compiler
errors as analyzer failures
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14243
Bug #: 14243
Summary: scan-build should not report compiler errors as
analyzer failures
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: Static Analyzer
AssignedTo: kremenek at apple.com
ReportedBy: jordan_rose at apple.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Currently, if a file can't be parsed, it's reported as a "failure" by
scan-build. In the past, this was most likely due to Clang's incomplete support
for various esoteric language features (or even "C++" if you go back far
enough), but today the compiler errors are usually valid errors or the result
of other compilers being more permissive than Clang.
We should
- not report these as failures of the analyzer
- not suggest filing a bug report
- report the compiler errors in some useful way.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 2 11:08:57 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 02 Nov 2012 18:08:57 +0000
Subject: [LLVMbugs] [Bug 14244] New: "signedness mismatch" assertions
failing everywhere [ppc/darwin8]
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14244
Bug #: 14244
Summary: "signedness mismatch" assertions failing everywhere
[ppc/darwin8]
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: fang at csl.cornell.edu
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
In a recent build of clang on powerpc-darwin8 (g++-4.0.1 built), I get numerous
crashes and assertion failures in the first hundred+ tests in the test suite.
log:
http://www.csl.cornell.edu/~fang/sw/llvm/logs/clang-r167161-powerpc-darwin8-g++-4.0.1-debug-check.log
clang is built with cmake here, and configured as a Debug build (-g only).
I picked an arbitrary test to debug: Analysis/complex.c
[fangism:~/temp/clang] fang%
/Users/fang/local/src/LLVM-svn/gcc40-cmake-build/bin/./clang -cc1
-internal-isystem
/Volumes/Isolde/builds/LLVM/gcc40-cmake-build/bin/../lib/clang/3.2/include
-analyze -analyzer-checker=core -analyzer-store=region
-analyzer-constraints=range -verify -Wno-unreachable-code -ffreestanding
/Volumes/Isolde/sources/LLVM-svn/clang/test/Analysis/complex.c
/Users/fang/local/src/LLVM-svn/llvm/include/llvm/ADT/APSInt.h:245: failed
assertion `IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"'
Stack dump:
0. Program arguments:
/Users/fang/local/src/LLVM-svn/gcc40-cmake-build/bin/./clang -cc1
-internal-isystem
/Volumes/Isolde/builds/LLVM/gcc40-cmake-build/bin/../lib/clang/3.2/include
-analyze -analyzer-checker=core -analyzer-store=region
-analyzer-constraints=range -verify -Wno-unreachable-code -ffreestanding
/Volumes/Isolde/sources/LLVM-svn/clang/test/Analysis/complex.c
1. parser at end of file
2. /Volumes/Isolde/sources/LLVM-svn/clang/test/Analysis/complex.c:9:7:
Error evaluating branch
Abort
stacktrace from assert-fail:
[fangism:~/temp/clang] fang% gdb
/Users/fang/local/src/LLVM-svn/gcc40-cmake-build/bin/./clang
GNU gdb 6.3.50-20050815 (Apple
version gdb-696) (Sat Oct 20 18:20:28 GMT 2007)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "powerpc-apple-darwin"...
warning: --arch option not supported in this gdb.
Reading symbols for shared libraries
............................................................. done
(gdb) run -cc1 -internal-isystem
/Volumes/Isolde/builds/LLVM/gcc40-cmake-build/bin/../lib/clang/3.2/include
-analyze -analyzer-checker=core -analyzer-store=region
-analyzer-constraints=range -verify -Wno-unreachable-code -ffreestanding
/Volumes/Isolde/sources/LLVM-svn/clang/test/Analysis/complex.c
Starting program: /Volumes/Isolde/builds/LLVM/gcc40-cmake-build/bin/clang -cc1
-internal-isystem
/Volumes/Isolde/builds/LLVM/gcc40-cmake-build/bin/../lib/clang/3.2/include
-analyze -analyzer-checker=core -analyzer-store=region
-analyzer-constraints=range -verify -Wno-unreachable-code -ffreestanding
/Volumes/Isolde/sources/LLVM-svn/clang/test/Analysis/complex.c
tcsh: Word too long.
Reading symbols for shared libraries
.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++ done
/Users/fang/local/src/LLVM-svn/llvm/include/llvm/ADT/APSInt.h:245: failed
assertion `IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"'
Program received signal SIGABRT, Aborted.
0x90047dac in kill ()
(gdb) where
#0 0x90047dac in kill ()
#1 0x9012d7b4 in abort ()
#2 0x94c870b0 in __eprintf ()
#3 0x5f159d48 in llvm::APSInt::operator- (this=0xbfffb0f4, RHS=@0xbfffb1ac) at
/Users/fang/local/src/LLVM-svn/llvm/include/llvm/ADT/APSInt.h:245
#4 0x5f0d748c in (anonymous namespace)::RangeConstraintManager::assumeSymEQ
(this=0x66109e00, St=@0xbfffb190, Sym=0x6583719c, Int=@0xbfffb1c4,
Adjustment=@0xbfffb1ac) at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:457
#5 0x5f0e45bc in clang::ento::SimpleConstraintManager::assumeSymRel
(this=0x66109e00, state=@0xbfffb274, LHS=0x6583719c, op=BO_EQ, Int=@0x65837324)
at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:267
#6 0x5f0e512c in clang::ento::SimpleConstraintManager::assumeAux
(this=0x66109e00, state=@0xbfffb30c, Cond={ =
{ = { = {Data = 0x65837334, Kind = 7}, }, }, }, Assumption=true) at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:202
#7 0x5f0e52b8 in clang::ento::SimpleConstraintManager::assume
(this=0x66109e00, state=@0xbfffb38c, cond={ =
{ = { = {Data = 0x65837334, Kind = 7}, }, }, }, assumption=true) at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:117
#8 0x5f0e5438 in clang::ento::SimpleConstraintManager::assume
(this=0x66109e00, state=@0xbfffb3f0, Cond={ = { =
{Data = 0x65837334, Kind = 7}, }, },
Assumption=true) at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:62
#9 0x5f19bafc in clang::ento::ProgramState::assume (this=0x65837380,
Cond={ = {Data = 0x65837334, Kind = 7}, },
Assumption=true) at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:616
#10 0x5f0af720 in clang::ento::ExprEngine::processBranch (this=0xbfffba3c,
Condition=0x6580ec70, Term=0x6580ed08, BldCtx=@0xbfffb628, Pred=0x65837398,
Dst=@0xbfffb634, DstT=0x658328f4, DstF=0x658327dc) at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1253
#11 0x5f0a583c in clang::ento::CoreEngine::HandleBranch (this=0xbfffba48,
Cond=0x6580ec70, Term=0x6580ed08, B=0x65832968, Pred=0x65837398) at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:454
#12 0x5f0a6d98 in clang::ento::CoreEngine::HandleBlockExit (this=0xbfffba48,
B=0x65832968, Pred=0x65837398) at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:350
#13 0x5f0a730c in clang::ento::CoreEngine::HandlePostStmt (this=0xbfffba48,
B=0x65832968, StmtIdx=3, Pred=0x65837398) at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:465
#14 0x5f0a790c in clang::ento::CoreEngine::dispatchWorkItem (this=0xbfffba48,
Pred=0x65837398, Loc={Data1 = 0x6580ec70, Data2 = {Value = 2}, L = {Value =
1712354177}, Tag = {Value = 0}}, WU=@0xbfffb8f0) at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:266
#15 0x5f0a7d34 in clang::ento::CoreEngine::ExecuteWorkList (this=0xbfffba48,
L=0x66107380, Steps=149995, InitState=@0xbfffb9d8) at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:222
#16 0x4df3d9e4 in clang::ento::ExprEngine::ExecuteWorkList (this=0xbfffba3c,
L=0x66107380, Steps=150000) at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:104
#17 0x4df01c9c in (anonymous namespace)::AnalysisConsumer::ActionExprEngine
(this=0x66106b20, D=0x6580ebe0, ObjCGCEnabled=false, VisitedCallees=0xbfffbf10)
at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:613
#18 0x4df01df0 in (anonymous
namespace)::AnalysisConsumer::RunPathSensitiveChecks (this=0x66106b20,
D=0x6580ebe0, Visited=0xbfffbf10) at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:632
#19 0x4df030c0 in (anonymous namespace)::AnalysisConsumer::HandleCode
(this=0x66106b20, D=0x6580ebe0, Mode=2, VisitedCallees=0xbfffbf10) at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:581
#20 0x4df03508 in (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph
(this=0x66106b20, LocalTUDeclsSize=29) at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:434
#21 0x4df03844 in (anonymous
namespace)::AnalysisConsumer::HandleTranslationUnit (this=0x66106b20,
C=@0x6580be00) at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:481
#22 0x37c2f588 in clang::ParseAST (S=@0x65817000, PrintStats=false,
SkipFunctionBodies=false) at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/lib/Parse/ParseAST.cpp:111
#23 0x337d1e50 in clang::ASTFrontendAction::ExecuteAction (this=0x66102e20) at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/lib/Frontend/FrontendAction.cpp:467
#24 0x337d19a8 in clang::FrontendAction::Execute (this=0x66102e20) at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/lib/Frontend/FrontendAction.cpp:384
#25 0x337b4fe8 in clang::CompilerInstance::ExecuteAction (this=0x66102940,
Act=@0x66102e20) at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/lib/Frontend/CompilerInstance.cpp:678
#26 0x1f41c990 in clang::ExecuteCompilerInvocation (Clang=0x66102940) at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:189
#27 0x00015460 in cc1_main (ArgBegin=0xbfffd0e0, ArgEnd=0xbfffd108,
Argv0=0x6610252c "/Volumes/Isolde/builds/LLVM/gcc40-cmake-build/bin/clang",
MainAddr=0x124b4) at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/tools/driver/cc1_main.cpp:168
#28 0x00013dac in main (argc_=12, argv_=0xbfffd6a8) at
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/tools/driver/driver.cpp:358
Does anyone see the first thing that may have gone wrong?
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 2 12:10:19 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 02 Nov 2012 19:10:19 +0000
Subject: [LLVMbugs] [Bug 14246] New: Apple llvm compiler (4.1) : very VERY
slow linking time, eating up a lot of memory
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14246
Bug #: 14246
Summary: Apple llvm compiler (4.1) : very VERY slow linking
time, eating up a lot of memory
Product: clang
Version: unspecified
Platform: PC
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: olivier at myvr-software.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Hello,
First time filling a bug here, and I'm not sure if it is the right place. So if
it a mistake, I'm really sorry.
I'm working on a SDK for displaying maps on mobile devices. The library is made
in C++ using boost and (not so much) templates.
Everything is going fine on Android and Windows, which are not using clang, but
when I have a big issue with iOS compilation using apple llvm 4.1 ( latest
version of XCode ). The library compile fine by itself, but when I use the
actual library with an application, in release build, the linking take a lot of
times ( more than 20 minutes, when it does not fails or need to reboot the
computer because of memory ) and eat a lot ( more than 5 gigs ) of memory.
LTO on/off does not seems to change anything.
Everything is going fine if I use llvm-gcc4.2, but apple is going to deprecate
it in the next-next relase, so I need to find a solution.
If needed I can provide a binary (.a) version of the library and a sample
project, if it is not public.
The library is quite big ( 150 megs ) but should compress OK.
Thanks for your support,
Olivier Chatry.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 2 12:54:29 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 02 Nov 2012 19:54:29 +0000
Subject: [LLVMbugs] [Bug 14246] Apple llvm compiler (4.1) : very VERY slow
linking time, eating up a lot of memory
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14246
Eli Friedman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |sharparrow1 at yahoo.com
Resolution| |MOVED
--- Comment #1 from Eli Friedman 2012-11-02 14:54:29 CDT ---
Please file bugs for tools shipped by Apple at bugreporter.apple.com .
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 2 14:15:34 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 02 Nov 2012 21:15:34 +0000
Subject: [LLVMbugs] [Bug 6343] clang should produce warning on duplicate
enumeration values
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=6343
rtrieu at google.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #3 from rtrieu at google.com 2012-11-02 16:15:34 CDT ---
r164083 removed -Wduplicate-enum
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 2 15:42:41 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 02 Nov 2012 22:42:41 +0000
Subject: [LLVMbugs] [Bug 14247] New: -fcatch-undefined-behavior should allow
severity levels and recoverability
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14247
Bug #: 14247
Summary: -fcatch-undefined-behavior should allow severity
levels and recoverability
Product: clang
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: htam at apple.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Clang should support one or both of the following:
1. An option to turn -fcatch-undefined-behavior traps into run-time warnings
or at least recoverable traps
(-fbreak-undefined-behavior/-fwarn-undefined-behavior?). The former would
allow a programmer to quickly get a sense of issues in the entire program by
just by piping through uniq. The second would allow someone to get through a
few warnings at a time in a debugger.
2. Fine-grained control on which types of UB are caught; similar to
-Werror=/-Wno-error= (-f[no-]catch-udefined-behavior=X?).
Motivation:
I'm using clang built with compiler-rt on x86_64 Linux. All are from trunk at
r167261. The -fcatch-undefined-behavior option emits an irrecoverable trap,
even when debugging a program under gdb. In the program I am trying to debug
with -fcatch-undefined-behavior, there are a large number of "1 << 31"
operations that cause the program to terminate very early in the run. This is
preventing me from investigating more important UB later on in the program.
I know that this is, strictly speaking, undefined behavior, but it is
exceedingly unlikely to be the cause of the bug I'm looking for. Instead of
fixing one issue at a time, being able to get a list of all the undefined
behavior points would make it much easier to triage bugs in large, legacy
programs.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 2 16:57:17 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 02 Nov 2012 23:57:17 +0000
Subject: [LLVMbugs] [Bug 14206] Regression(r162254 ): V8 garbage collection
performance regressed 10%
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14206
Nico Weber changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
--- Comment #5 from Nico Weber 2012-11-02 18:57:17 CDT ---
Looks like I can't repro with today's HEAD (r167331).
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sat Nov 3 01:03:46 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 03 Nov 2012 08:03:46 +0000
Subject: [LLVMbugs] [Bug 14205] Crash in
llvm::LiveVariables::HandleVirtRegUse
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14205
İsmail "cartman" Dönmez changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from İsmail "cartman" Dönmez 2012-11-03 03:03:46 CDT ---
Works with latest SVN.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sat Nov 3 03:34:03 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 03 Nov 2012 10:34:03 +0000
Subject: [LLVMbugs] [Bug 14248] New: SROA.cpp:2506: Assertion `[...] &&
"Only alloca-wide loads can be split and recomposed"' failed.
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14248
Bug #: 14248
Summary: SROA.cpp:2506: Assertion `[...] && "Only alloca-wide
loads can be split and recomposed"' failed.
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: antoine.balestrat at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
With LLVM/Clang 3.2 as of r166877, at -O1 and higher :
$ cat alloca.c
void f(void)
{
int *pa, **pb = &pa;
char c;
while(*pa)
*pb = &c;
}
$ clong -O1 -w alloca.c
clang: /home/merkil/git/clang/llvm/lib/Transforms/Scalar/SROA.cpp:2506: bool
::AllocaPartitionRewriter::visitLoadInst(llvm::LoadInst
&): Assertion `LI.getType()->getIntegerBitWidth() ==
TD.getTypeSizeInBits(OldAI.getAllocatedType()) && "Only alloca-wide loads can
be split and recomposed"' failed.
0 clang 0x0000000001a8b7bf
1 clang 0x0000000001a8bca3
2 libpthread.so.0 0x00007f031abbe970
3 libc.so.6 0x00007f0319e2ac75 gsignal + 53
4 libc.so.6 0x00007f0319e2bf87 abort + 327
5 libc.so.6 0x00007f0319e23d82
6 libc.so.6 0x00007f0319e23e32
7 clang 0x0000000001736ae6
8 clang 0x0000000001734737
9 clang 0x0000000001730101
10 clang 0x00000000019f0a0b
llvm::FPPassManager::runOnFunction(llvm::Function&) + 443
11 clang 0x00000000019eff88
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 168
12 clang 0x00000000019efe6c
llvm::FunctionPassManager::run(llvm::Function&) + 108
13 clang 0x000000000079f055
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 5669
14 clang 0x000000000079cbca
15 clang 0x00000000008cf0f4 clang::ParseAST(clang::Sema&, bool, bool)
+ 532
16 clang 0x000000000079bc12 clang::CodeGenAction::ExecuteAction() +
178
17 clang 0x000000000063ec95 clang::FrontendAction::Execute() + 101
18 clang 0x000000000061e2dd
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 973
19 clang 0x00000000006067f8
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3768
20 clang 0x00000000005faedf cc1_main(char const**, char const**, char
const*, void*) + 767
21 clang 0x0000000000602a06 main + 3574
22 libc.so.6 0x00007f0319e17695 __libc_start_main + 245
23 clang 0x00000000005faafd
Stack dump:
0. Program arguments: /home/merkil/git/clang/build/Release+Asserts/bin/clang
-cc1 -triple x86_64-unknown-linux-gnu -emit-obj -disable-free -main-file-name
alloca.c -mrelocation-model static -fmath-errno -masm-verbose
-mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64
-target-linker-version 2.22.90.20120727 -momit-leaf-frame-pointer -resource-dir
/home/merkil/git/clang/build/Release+Asserts/bin/../lib/clang/3.2
-fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem
/usr/local/include -internal-isystem
/home/merkil/git/clang/build/Release+Asserts/bin/../lib/clang/3.2/include
-internal-externc-isystem /include -internal-externc-isystem /usr/include -O1
-w -fdebug-compilation-dir /home/merkil -ferror-limit 19 -fmessage-length 0
-mstackrealign -fobjc-runtime=gcc -fdiagnostics-show-option -o
/tmp/alloca-0fTUZc.o -x c alloca.c
1. parser at end of file
2. Per-function optimization
3. Running pass 'SROA' on function '@f'
clang: error: unable to execute command: Aborted
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sat Nov 3 07:26:08 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 03 Nov 2012 14:26:08 +0000
Subject: [LLVMbugs] [Bug 14249] New: Type-tag safety attribute checking
fails when 0 is passed as a pointer
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14249
Bug #: 14249
Summary: Type-tag safety attribute checking fails when 0 is
passed as a pointer
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: hfinkel at anl.gov
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
The easiest way to reproduce this error is the following:
in test/Sema/warn-type-safety.c
after this:
void test_tag_mismatch(int *ptr)
{
A_func(ptr, &A_tag); // no-warning
A_func(ptr, &B_tag); // expected-warning {{this type tag was not designed to
be used with this function}}
C_func(ptr, C_tag); // no-warning
C_func(ptr, D_tag); // expected-warning {{this type tag was not designed to
be used with this function}}
C_func(ptr, 10); // no-warning
C_func(ptr, 20); // should warn, but may cause false positives
}
add this:
void test_void_void(const void *a)
{
C_func(0, C_tag);
}
and this will cause clang to assert:
clang:
/src/llvm-trunk-writable/tools/clang/lib/Frontend/../../include/clang/AST/Type.h:547:
const clang::ExtQualsTypeCommonBase* clang::QualType::getCommonPtr() const:
Assertion `!isNull() && "Cannot retrieve a NULL type pointer"' failed.
in
11 clang 0x000000000114e160
clang::Sema::CheckArgumentWithTypeTag(clang::ArgumentWithTypeTagAttr const*,
clang::Expr const* const*) + 968
12 clang 0x00000000011382c0 clang::Sema::checkCall(clang::NamedDecl*,
clang::Expr**, unsigned int, unsigned int, bool, clang::SourceLocation,
clang::SourceRange, clang::Sema::VariadicCallType) + 462
13 clang 0x00000000011384b4
clang::Sema::CheckFunctionCall(clang::FunctionDecl*, clang::CallExpr*,
clang::FunctionProtoType const*) + 306
14 clang 0x0000000001268179
clang::Sema::BuildResolvedCallExpr(clang::Expr*, clang::NamedDecl*,
clang::SourceLocation, clang::Expr**, unsigned int, clang::SourceLocation,
clang::Expr*, bool) + 3887
15 clang 0x0000000001384e4c
16 clang 0x000000000138555f
clang::Sema::BuildOverloadedCallExpr(clang::Scope*, clang::Expr*,
clang::UnresolvedLookupExpr*, clang::SourceLocation, clang::Expr**, unsigned
int, clang::SourceLocation, clang::Expr*, bool) + 417
17 clang 0x0000000001266d20 clang::Sema::ActOnCallExpr(clang::Scope*,
clang::Expr*, clang::SourceLocation, llvm::MutableArrayRef,
clang::SourceLocation, clang::Expr*, bool) + 1976
...
1. /tmp/warn-type-safety.c:85:18: current parser token ')'
2. /tmp/warn-type-safety.c:84:1: parsing function body 'test_void_void'
3. /tmp/warn-type-safety.c:84:1: in compound statement ('{}')
clang: error: unable to execute command: Aborted (core dumped)
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sat Nov 3 08:47:51 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 03 Nov 2012 15:47:51 +0000
Subject: [LLVMbugs] [Bug 14250] New: incorrect
-Wunneeded-internal-declaration warning with weak symbols
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14250
Bug #: 14250
Summary: incorrect -Wunneeded-internal-declaration warning with
weak symbols
Product: clang
Version: 3.1
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: bonzini at gnu.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
This file:
static int g()
{
return 42;
}
typeof(g) f __attribute__((__weak__, __alias__("g")));
compiled with -Wall gives:
g2.c:3:12: warning: function 'g' is not needed and will not be emitted
[-Wunneeded-internal-declaration]
even though the function is emitted:
.file "g2.c"
.text
.align 16, 0x90
.type g, at function
g: # @g
.cfi_startproc
# BB#0:
movl $42, %eax
ret
.Ltmp0:
.size g, .Ltmp0-g
.cfi_endproc
.weak f
f = g
.section ".note.GNU-stack","", at progbits
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sat Nov 3 09:08:09 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 03 Nov 2012 16:08:09 +0000
Subject: [LLVMbugs] [Bug 14249] Type-tag safety attribute checking fails
when 0 is passed as a pointer
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14249
Dmitri Gribenko changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Dmitri Gribenko 2012-11-03 11:08:09 CDT ---
Should be fixed in r167358.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sat Nov 3 09:13:36 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 03 Nov 2012 16:13:36 +0000
Subject: [LLVMbugs] [Bug 14251] New: strncpy-overflow.cc and
use-after-free.cc AddressSanitizer failures on x86_64-apple-darwin12
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14251
Bug #: 14251
Summary: strncpy-overflow.cc and use-after-free.cc
AddressSanitizer failures on x86_64-apple-darwin12
Product: compiler-rt
Version: unspecified
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: enhancement
Priority: P
Component: compiler-rt
AssignedTo: unassignedbugs at nondot.org
ReportedBy: howarth at nitro.med.uc.edu
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Two AddressSanitizer failures exist on x86_64-apple-darwin12 with a debug build
at r167357...
Failing Tests (2):
AddressSanitizer :: strncpy-overflow.cc
AddressSanitizer :: use-after-free.cc
% cat strncpy-overflow.cc.tmp.out
=================================================================
==72320== ERROR: AddressSanitizer: heap-buffer-overflow on address
0x0001113bb049 at pc 0x10f0da71b bp 0x7fff50b2c970 sp 0x7fff50b2c118
WRITE of size 1 at 0x0001113bb049 thread T0
#0 0x10f0da71a in _wrap_strncpy _asan_rtl_:5
#1 0x10f0d4945 in _main
/sw/src/fink.build/llvm32-3.2-0/llvm-3.2/projects/compiler-unsigned short
restrict/lib/asan/lit_tests/strncpy-overflow.cc:24:0
#2 0x7fff8bd827e0 in start (in libdyld.dylib) + 0
#3 0x0
0x0001113bb049 is located 0 bytes to the right of 9-byte region
[0x0001113bb040,0x0001113bb049)
allocated by thread T0 here:
#0 0x10f0dd2a2 in (anonymous namespace)::mz_malloc(_malloc_zone_t*,
unsigned long) _asan_rtl_:3
#1 0x7fff94c3b152 in malloc_zone_malloc (in libsystem_c.dylib) + 70
#2 0x7fff94c3bba6 in malloc (in libsystem_c.dylib) + 40
#3 0x10f0d48b4 in _main
/sw/src/fink.build/llvm32-3.2-0/llvm-3.2/projects/compiler-unsigned short
restrict/lib/asan/lit_tests/strncpy-overflow.cc:23:0
#4 0x7fff8bd827e0 in start (in libdyld.dylib) + 0
Shadow byte and word:
0x100022277609: 1
0x100022277608: 00 01 fb fb fb fb fb fb
long double restrictunsigned __int128::* shadow bytes:
0x1000222775e8: fa fa fa fa fa fa fa fa
0x1000222775f0: fa fa fa fa fa fa fa fa
0x1000222775f8: 06 fb fb fb fb fb fb fb
0x100022277600: fa fa fa fa fa fa fa fa
=>0x100022277608: 00 01 fb fb fb fb fb fb
0x100022277610: fa fa fa fa fa fa fa fa
0x100022277618: fa fa fa fa fa fa fa fa
0x100022277620: fa fa fa fa fa fa fa fa
0x100022277628: fa fa fa fa fa fa fa fa
Stats: 0M malloced (0M for red zones) by 2 calls
Stats: 0M realloced by 0 calls
Stats: 0M freed by 0 calls
Stats: 0M really freed by 0 calls
Stats: 0M (128 full pages) mmaped in 1 calls
mmaps by size class: 7:4095;
mallocs by size class: 7:2;
frees by size class:
rfrees by size class:
Stats: malloc large: 0 small slow: 1
==72320== ABORTING
=================================================================
==72453== ERROR: AddressSanitizer: heap-use-after-free on address
0x00010525efc5 at pc 0x102f79b9e bp 0x7fff5cc86ab0 sp 0x7fff5cc86aa8
READ of size 1 at 0x00010525efc5 thread T0
#0 0x102f79b9d in _main
/sw/src/fink.build/llvm32-3.2-0/llvm-3.2/projects/compiler-unsigned short
restrict/lib/asan/lit_tests/use-after-free.cc:22:0
#1 0x7fff8bd827e0 in start (in libdyld.dylib) + 0
#2 0x0
0x00010525efc5 is located 5 bytes inside of 10-byte region
[0x00010525efc0,0x00010525efca)
freed by thread T0 here:
#0 0x102f825e8 in free_common _asan_rtl_:5
#1 0x102f825e8 in (anonymous namespace)::mz_free(_malloc_zone_t*, void*)
_asan_rtl_:0
#2 0x102f81c62 in _wrap_free _asan_rtl_:7
#3 0x102f79b17 in _main
/sw/src/fink.build/llvm32-3.2-0/llvm-3.2/projects/compiler-unsigned short
restrict/lib/asan/lit_tests/use-after-free.cc:21:0
#4 0x7fff8bd827e0 in start (in libdyld.dylib) + 0
#4 0x0
previously allocated by thread T0 here:
#0 0x102f823f2 in (anonymous namespace)::mz_malloc(_malloc_zone_t*,
unsigned long) _asan_rtl_:3
#1 0x7fff94c3b152 in malloc_zone_malloc (in libsystem_c.dylib) + 70
#2 0x7fff94c3bba6 in malloc (in libsystem_c.dylib) + 40
#3 0x102f79ad4 in _main
/sw/src/fink.build/llvm32-3.2-0/llvm-3.2/projects/compiler-unsigned short
restrict/lib/asan/lit_tests/use-after-free.cc:20:0
#4 0x7fff8bd827e0 in start (in libdyld.dylib) + 0
Shadow byte and word:
0x100020a4bdf8: fd
0x100020a4bdf8: fd fd fd fd fd fd fd fd
long double restrictunsigned __int128::* shadow bytes:
0x100020a4bdd8: fa fa fa fa fa fa fa fa
0x100020a4bde0: fa fa fa fa fa fa fa fa
0x100020a4bde8: fa fa fa fa fa fa fa fa
0x100020a4bdf0: fa fa fa fa fa fa fa fa
=>0x100020a4bdf8: fd fd fd fd fd fd fd fd
0x100020a4be00: fa fa fa fa fa fa fa fa
0x100020a4be08: fa fa fa fa fa fa fa fa
0x100020a4be10: fa fa fa fa fa fa fa fa
0x100020a4be18: fa fa fa fa fa fa fa fa
Stats: 0M malloced (0M for red zones) by 1 calls
Stats: 0M realloced by 0 calls
Stats: 0M freed by 1 calls
Stats: 0M really freed by 0 calls
Stats: 0M (128 full pages) mmaped in 1 calls
mmaps by size class: 7:4095;
mallocs by size class: 7:1;
frees by size class: 7:1;
rfrees by size class:
Stats: malloc large: 0 small slow: 1
==72453== ABORTING
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sat Nov 3 10:54:54 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 03 Nov 2012 17:54:54 +0000
Subject: [LLVMbugs] [Bug 8737] [mc assembler] .extern directive ignored
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8737
Benjamin Kramer changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |benny.kra at gmail.com
Resolution| |FIXED
--- Comment #1 from Benjamin Kramer 2012-11-03 12:54:54 CDT ---
This was fixed a while ago.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sat Nov 3 18:29:12 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 04 Nov 2012 01:29:12 +0000
Subject: [LLVMbugs] [Bug 14208] assertion in selectInterestingSourceRegion
found while fuzz testing diagnostic ranges in string literals
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14208
Seth changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Seth 2012-11-03 20:29:12 CDT ---
fixed in r167360
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sun Nov 4 00:57:33 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 04 Nov 2012 07:57:33 +0000
Subject: [LLVMbugs] [Bug 14252] New: libclang crash when parsing c++11 code
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14252
Bug #: 14252
Summary: libclang crash when parsing c++11 code
Product: clang
Version: 3.1
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++11
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: xiemeilong.ok at gmail.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
I am using sublime text with sublimeclang plugin, but sublime text is always
crashing when reparsing my code.
my code:
#include
#include
using namespace std;
using namespace cppa;
using namespace Poco;
class FileTraceActor : public sb_actor {
// grant access to the private init_state member
friend class sb_actor;
behavior empty = (
on(atom("to_be"), arg_match) >> [](string parent,string name) {
//case by this line!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
become();
}
);
behavior& init_state = empty;
};
int main(int argc, char const *argv[])
{
/* code */
return 0;
}
Backtrace:
*** glibc detected *** /usr/lib/sublime-text-2/sublime_text: double free or
corruption (out): 0x00007f2e46e1f530 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7f2e8e94cb96]
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/clang/../libclang.so(+0x390e5c)[0x7f2e67882e5c]
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/clang/../libclang.so(+0x49997d)[0x7f2e6798b97d]
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/clang/../libclang.so(+0x346f14)[0x7f2e67838f14]
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/clang/../libclang.so(+0x37cc86)[0x7f2e6786ec86]
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/clang/../libclang.so(+0x37c23c)[0x7f2e6786e23c]
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/clang/../libclang.so(+0x343d58)[0x7f2e67835d58]
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/clang/../libclang.so(+0x3429c0)[0x7f2e678349c0]
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/clang/../libclang.so(+0x3302e2)[0x7f2e678222e2]
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/clang/../libclang.so(+0x326c51)[0x7f2e67818c51]
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/clang/../libclang.so(+0x326faf)[0x7f2e67818faf]
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/clang/../libclang.so(+0x32632c)[0x7f2e6781832c]
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/clang/../libclang.so(+0x3258c0)[0x7f2e678178c0]
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/clang/../libclang.so(+0x322e1b)[0x7f2e67814e1b]
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/clang/../libclang.so(+0x1fc4e8)[0x7f2e676ee4e8]
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/clang/../libclang.so(+0x2008d3)[0x7f2e676f28d3]
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/clang/../libclang.so(+0x9d2ea)[0x7f2e6758f2ea]
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/clang/../libclang.so(+0x7b4acb)[0x7f2e67ca6acb]
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/clang/../libclang.so(+0x7b4b84)[0x7f2e67ca6b84]
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/clang/../libclang.so(+0x7c8bba)[0x7f2e67cbabba]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)[0x7f2e8fbeae9a]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f2e8e9c1cbd]
======= Memory map: ========
00400000-00bce000 r-xp 00000000 08:12 1326149
/usr/lib/sublime-text-2/sublime_text
00dcd000-00dce000 r--p 007cd000 08:12 1326149
/usr/lib/sublime-text-2/sublime_text
00dce000-00e47000 rw-p 007ce000 08:12 1326149
/usr/lib/sublime-text-2/sublime_text
00e47000-00e5f000 rw-p 00000000 00:00 0
011fc000-0271b000 rw-p 00000000 00:00 0 [heap]
7f2e38000000-7f2e3a185000 rw-p 00000000 00:00 0
7f2e3a185000-7f2e3c000000 ---p 00000000 00:00 0
7f2e3d56b000-7f2e3dffc000 r--p 00000000 08:12 1983024
/tmp/preamble.pch-HY4oSv
7f2e3dffc000-7f2e3dffd000 ---p 00000000 00:00 0
7f2e3dffd000-7f2e3e7fd000 rw-p 00000000 00:00 0
[stack:7053]
7f2e3e7fd000-7f2e3e7fe000 ---p 00000000 00:00 0
7f2e3e7fe000-7f2e3effe000 rw-p 00000000 00:00 0
7f2e3effe000-7f2e3efff000 ---p 00000000 00:00 0
7f2e3efff000-7f2e3f7ff000 rw-p 00000000 00:00 0
[stack:7050]
7f2e3f7ff000-7f2e3f800000 ---p 00000000 00:00 0
7f2e3f800000-7f2e40000000 rw-p 00000000 00:00 0
7f2e40000000-7f2e408a6000 rw-p 00000000 00:00 0
7f2e408a6000-7f2e44000000 ---p 00000000 00:00 0
7f2e44000000-7f2e47ff8000 rw-p 00000000 00:00 0
7f2e47ff8000-7f2e48000000 ---p 00000000 00:00 0
7f2e48000000-7f2e487fa000 rw-p 00000000 00:00 0
7f2e487fa000-7f2e4c000000 ---p 00000000 00:00 0
7f2e4c344000-7f2e4c4dc000 rw-p 00000000 00:00 0
7f2e4c4dc000-7f2e4c4dd000 ---p 00000000 00:00 0
7f2e4c4dd000-7f2e4ccdd000 rw-p 00000000 00:00 0
7f2e4ccdd000-7f2e4cce4000 r-xp 00000000 08:12 919578
/lib/x86_64-linux-gnu/libnss_dns-2.15.so
7f2e4cce4000-7f2e4cee3000 ---p 00007000 08:12 919578
/lib/x86_64-linux-gnu/libnss_dns-2.15.so
7f2e4cee3000-7f2e4cee4000 r--p 00006000 08:12 919578
/lib/x86_64-linux-gnu/libnss_dns-2.15.so
7f2e4cee4000-7f2e4cee5000 rw-p 00007000 08:12 919578
/lib/x86_64-linux-gnu/libnss_dns-2.15.so
7f2e4cee5000-7f2e4cee7000 r-xp 00000000 08:12 915751
/lib/libnss_mdns4_minimal.so.2
7f2e4cee7000-7f2e4d0e6000 ---p 00002000 08:12 915751
/lib/libnss_mdns4_minimal.so.2
7f2e4d0e6000-7f2e4d0e7000 r--p 00001000 08:12 915751
/lib/libnss_mdns4_minimal.so.2
7f2e4d0e7000-7f2e4d0e8000 rw-p 00002000 08:12 915751
/lib/libnss_mdns4_minimal.so.2
7f2e4d0e8000-7f2e4d0e9000 ---p 00000000 00:00 0
7f2e4d0e9000-7f2e4d8e9000 rw-p 00000000 00:00 0
7f2e4d8e9000-7f2e4d98e000 r--p 00000000 08:12 2093740
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
7f2e4d98e000-7f2e4d98f000 ---p 00000000 00:00 0
7f2e4d98f000-7f2e4e18f000 rw-p 00000000 00:00 0
[stack:7035]
7f2e4e18f000-7f2e4e190000 ---p 00000000 00:00 0
7f2e4e190000-7f2e4e990000 rw-p 00000000 00:00 0
[stack:7034]
7f2e4e990000-7f2e4e991000 ---p 00000000 00:00 0
7f2e4e991000-7f2e4f191000 rw-p 00000000 00:00 0
[stack:7033]
7f2e4f191000-7f2e4f192000 ---p 00000000 00:00 0
7f2e4f192000-7f2e4f992000 rw-p 00000000 00:00 0
[stack:7032]
7f2e4f992000-7f2e4f99c000 r-xp 00000000 08:12 1573719
/usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
7f2e4f99c000-7f2e4fb9b000 ---p 0000a000 08:12 1573719
/usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
7f2e4fb9b000-7f2e4fb9c000 r--p 00009000 08:12 1573719
/usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
7f2e4fb9c000-7f2e4fb9d000 rw-p 0000a000 08:12 1573719
/usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
7f2e4fb9d000-7f2e4fbb6000 r-xp 00000000 08:12 1573723
/usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
7f2e4fbb6000-7f2e4fdb6000 ---p 00019000 08:12 1573723
/usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
7f2e4fdb6000-7f2e4fdb9000 r--p 00019000 08:12 1573723
/usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
7f2e4fdb9000-7f2e4fdba000 rw-p 0001c000 08:12 1573723
/usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
7f2e4fdba000-7f2e4fdfd000 r-xp 00000000 08:12 1316651
/usr/lib/x86_64-linux-gnu/libibus-1.0.so.0.401.0
7f2e4fdfd000-7f2e4fffc000 ---p 00043000 08:12 1316651
/usr/lib/x86_64-linux-gnu/libibus-1.0.so.0.401.0
7f2e4fffc000-7f2e4fffe000 r--p 00042000 08:12 1316651
/usr/lib/x86_64-linux-gnu/libibus-1.0.so.0.401.0
7f2e4fffe000-7f2e4ffff000 rw-p 00044000 08:12 1316651
/usr/lib/x86_64-linux-gnu/libibus-1.0.so.0.401.0
7f2e4ffff000-7f2e50000000 rw-p 00000000 00:00 0
7f2e50000000-7f2e50110000 rw-p 00000000 00:00 0
7f2e50110000-7f2e54000000 ---p 00000000 00:00 0
7f2e54000000-7f2e5464a000 rw-p 00000000 00:00 0
7f2e5464a000-7f2e58000000 ---p 00000000 00:00 0
7f2e58000000-7f2e58021000 rw-p 00000000 00:00 0
7f2e58021000-7f2e5c000000 ---p 00000000 00:00 0
7f2e5c000000-7f2e5c021000 rw-p 00000000 00:00 0
7f2e5c021000-7f2e60000000 ---p 00000000 00:00 0
7f2e60000000-7f2e60021000 rw-p 00000000 00:00 0
7f2e60021000-7f2e64000000 ---p 00000000 00:00 0
7f2e6404e000-7f2e64054000 r-xp 00000000 08:12 1573864
/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so
7f2e64054000-7f2e64253000 ---p 00006000 08:12 1573864
/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so
7f2e64253000-7f2e64254000 r--p 00005000 08:12 1573864
/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so
7f2e64254000-7f2e64255000 rw-p 00006000 08:12 1573864
/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so
7f2e64255000-7f2e64259000 r-xp 00000000 08:13 791625
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeCodeIntel/libs/_linux_libcpp6_x86_64/sgmlop.so
7f2e64259000-7f2e64458000 ---p 00004000 08:13 791625
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeCodeIntel/libs/_linux_libcpp6_x86_64/sgmlop.so
7f2e64458000-7f2e64459000 r--p 00003000 08:13 791625
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeCodeIntel/libs/_linux_libcpp6_x86_64/sgmlop.so
7f2e64459000-7f2e6445a000 rw-p 00004000 08:13 791625
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeCodeIntel/libs/_linux_libcpp6_x86_64/sgmlop.so
7f2e6445a000-7f2e6450a000 r--p 00000000 08:12 2093741
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
7f2e6450a000-7f2e6450c000 r-xp 00000000 08:12 1574098
/usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so
7f2e6450c000-7f2e6470b000 ---p 00002000 08:12 1574098
/usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so
7f2e6470b000-7f2e6470c000 r--p 00001000 08:12 1574098
/usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so
7f2e6470c000-7f2e6470d000 rw-p 00002000 08:12 1574098
/usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so
7f2e6470d000-7f2e6475f000 r--p 00000000 08:12 2093743
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf
7f2e6475f000-7f2e64760000 r--s 00000000 08:12 1717562
/var/cache/fontconfig/c05880de57d1f5e948fdfacc138775d9-le64.cache-3
7f2e64760000-7f2e64769000 r--s 00000000 08:12 1717554
/var/cache/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-le64.cache-3
7f2e64769000-7f2e6476d000 r--s 00000000 08:12 1719903
/var/cache/fontconfig/99e8ed0e538f840c565b6ed5dad60d56-le64.cache-3
7f2e6476d000-7f2e64772000 r--s 00000000 08:12 1717539
/var/cache/fontconfig/2cd17615ca594fa2959ae173292e504c-le64.cache-3
7f2e64772000-7f2e64773000 r--s 00000000 08:12 1717570
/var/cache/fontconfig/e7071f4a29fa870f4323321c154eba04-le64.cache-3
7f2e64773000-7f2e64774000 r--s 00000000 08:12 1717536
/var/cache/fontconfig/0d8c3b2ac0904cb8a57a757ad11a4a08-le64.cache-3
7f2e64774000-7f2e6477a000 r--s 00000000 08:12 1717558
/var/cache/fontconfig/a755afe4a08bf5b97852ceb7400b47bc-le64.cache-3
7f2e6477a000-7f2e6477e000 r--s 00000000 08:12 1717549
/var/cache/fontconfig/6d41288fd70b0be22e8c3a91e032eec0-le64.cache-3
7f2e6477e000-7f2e6478e000 r--s 00000000 08:12 1717534
/var/cache/fontconfig/04aabc0a78ac019cf9454389977116d2-le64.cache-3
7f2e6478e000-7f2e6478f000 r--s 00000000 08:12 1717538
/var/cache/fontconfig/1ac9eb803944fde146138c791f5cc56a-le64.cache-3
7f2e6478f000-7f2e64792000 r--s 00000000 08:12 1717543
/var/cache/fontconfig/385c0604a188198f04d133e54aba7fe7-le64.cache-3
7f2e64792000-7f2e64793000 r--s 00000000 08:12 1717568
/var/cache/fontconfig/dc05db6664285cc2f12bf69c139ae4c3-le64.cache-3
7f2e64793000-7f2e64795000 r--s 00000000 08:12 1717551
/var/cache/fontconfig/767a8244fc0220cfb567a839d0392e0b-le64.cache-3
7f2e64795000-7f2e64796000 r--s 00000000 08:12 1717544
/var/cache/fontconfig/4794a0821666d79190d59a36cb4f44b5-le64.cache-3
7f2e64796000-7f2e64799000 r--s 00000000 08:12 1717553
/var/cache/fontconfig/8801497958630a81b71ace7c5f9b32a8-le64.cache-3
7f2e64799000-7f2e6479e000 r--s 00000000 08:12 1717540
/var/cache/fontconfig/3047814df9a2f067bd2d96a2b9c36e5a-le64.cache-3
7f2e6479e000-7f2e6479f000 r--s 00000000 08:12 1717546
/var/cache/fontconfig/56cf4f4769d0f4abc89a4895d7bd3ae1-le64.cache-3
7f2e6479f000-7f2e647a0000 r--s 00000000 08:12 1717561
/var/cache/fontconfig/b9d506c9ac06c20b433354fa67a72993-le64.cache-3
7f2e647a0000-7f2e647a5000 r--s 00000000 08:12 1717560
/var/cache/fontconfig/b47c4e1ecd0709278f4910c18777a504-le64.cache-3
7f2e647a5000-7f2e647b6000 r--s 00000000 08:12 1717566
/var/cache/fontconfig/d52a8644073d54c13679302ca1180695-le64.cache-3
7f2e647b6000-7f2e647bc000 r--s 00000000 08:12 1719800
/var/cache/fontconfig/105b9c7e6f0a4f82d8c9b6e39c52c6f9-le64.cache-3
7f2e647bc000-7f2e647c8000 r--s 00000000 08:12 1719902
/var/cache/fontconfig/089dead882dea3570ffc31a9898cfb69-le64.cache-3
7f2e647c8000-7f2e647c9000 r--s 00000000 08:12 1717535
/var/cache/fontconfig/0c9eb80ebd1c36541ebe2852d3bb0c49-le64.cache-3
7f2e647c9000-7f2e647cc000 r--s 00000000 08:12 1707996
/var/cache/fontconfig/e13b20fdb08344e0e664864cc2ede53d-le64.cache-3
7f2e647cc000-7f2e647d0000 r--s 00000000 08:12 1719901
/var/cache/fontconfig/7ef2298fde41cc6eeb7af42e48b7d293-le64.cache-3
7f2e647d0000-7f2e647d1000 ---p 00000000 00:00 0
7f2e647d1000-7f2e64fd1000 rw-p 00000000 00:00 0
[stack:7030]
7f2e64fd1000-7f2e65001000 r-xp 00000000 08:13 791624
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeCodeIntel/libs/_linux_libcpp6_x86_64/ciElementTree.so
7f2e65001000-7f2e65201000 ---p 00030000 08:13 791624
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeCodeIntel/libs/_linux_libcpp6_x86_64/ciElementTree.so
7f2e65201000-7f2e65203000 r--p 00030000 08:13 791624
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeCodeIntel/libs/_linux_libcpp6_x86_64/ciElementTree.so
7f2e65203000-7f2e65204000 rw-p 00032000 08:13 791624
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeCodeIntel/libs/_linux_libcpp6_x86_64/ciElementTree.so
7f2e65204000-7f2e652e9000 r-xp 00000000 08:13 791622
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeCodeIntel/libs/_linux_libcpp6_x86_64/_SilverCity.so
7f2e652e9000-7f2e654e8000 ---p 000e5000 08:13 791622
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeCodeIntel/libs/_linux_libcpp6_x86_64/_SilverCity.so
7f2e654e8000-7f2e654ea000 r--p 000e4000 08:13 791622
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeCodeIntel/libs/_linux_libcpp6_x86_64/_SilverCity.so
7f2e654ea000-7f2e654ec000 rw-p 000e6000 08:13 791622
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeCodeIntel/libs/_linux_libcpp6_x86_64/_SilverCity.so
7f2e654ec000-7f2e654ee000 rw-p 00000000 00:00 0
7f2e654ee000-7f2e654ef000 ---p 00000000 00:00 0
7f2e654ef000-7f2e65cef000 rw-p 00000000 00:00 0
[stack:7029]
7f2e65cef000-7f2e65cf0000 ---p 00000000 00:00 0
7f2e65cf0000-7f2e664f0000 rw-p 00000000 00:00 0
[stack:7028]
7f2e664f0000-7f2e664f1000 ---p 00000000 00:00 0
7f2e664f1000-7f2e66cf1000 rw-p 00000000 00:00 0
[stack:7027]
7f2e66cf1000-7f2e66cf2000 ---p 00000000 00:00 0
7f2e66cf2000-7f2e674f2000 rw-p 00000000 00:00 0
[stack:7026]
7f2e674f2000-7f2e67db6000 r-xp 00000000 08:13 659276
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/libclang.so
7f2e67db6000-7f2e67fb5000 ---p 008c4000 08:13 659276
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/libclang.so
7f2e67fb5000-7f2e67ffd000 r--p 008c3000 08:13 659276
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/libclang.so
7f2e67ffd000-7f2e67ffe000 rw-p 0090b000 08:13 659276
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/libclang.so
7f2e67ffe000-7f2e68000000 rw-p 00000000 00:00 0
7f2e68000000-7f2e68021000 rw-p 00000000 00:00 0
7f2e68021000-7f2e6c000000 ---p 00000000 00:00 0
7f2e6c000000-7f2e6c021000 rw-p 00000000 00:00 0
7f2e6c021000-7f2e70000000 ---p 00000000 00:00 0
7f2e70000000-7f2e7006a000 rw-p 00000000 00:00 0
7f2e7006a000-7f2e74000000 ---p 00000000 00:00 0
7f2e74000000-7f2e74387000 rw-p 00000000 00:00 0
7f2e74387000-7f2e78000000 ---p 00000000 00:00 0
7f2e78000000-7f2e78022000 rw-p 00000000 00:00 0
7f2e78022000-7f2e7c000000 ---p 00000000 00:00 0
7f2e7c000000-7f2e7c065000 rw-p 00000000 00:00 0
7f2e7c065000-7f2e80000000 ---p 00000000 00:00 0
7f2e80000000-7f2e80021000 rw-p 00000000 00:00 0
7f2e80021000-7f2e84000000 ---p 00000000 00:00 0
7f2e8401f000-7f2e8407f000 rw-s 00000000 00:04 52723760
/SYSV00000000 (deleted)
7f2e8407f000-7f2e8409c000 r--p 00000000 08:12 2093659
/usr/share/fonts/truetype/liberation/LiberationMono-BoldItalic.ttf
7f2e8409c000-7f2e840bb000 r--p 00000000 08:12 2093660
/usr/share/fonts/truetype/liberation/LiberationMono-Italic.ttf
7f2e840bb000-7f2e840cc000 r-xp 00000000 08:13 659280
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/libcache.so
7f2e840cc000-7f2e842cb000 ---p 00011000 08:13 659280
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/libcache.so
7f2e842cb000-7f2e842cc000 r--p 00010000 08:13 659280
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/libcache.so
7f2e842cc000-7f2e842cd000 rw-p 00011000 08:13 659280
/home/xiemeilong/.config/sublime-text-2/Packages/SublimeClang/libcache.so
7f2e842cd000-7f2e842e9000 r-xp 00000000 08:13 791202
/home/xiemeilong/.pythonbrew/pythons/Python-2.6.7/lib/python2.6/lib-dynload/_ctypes.so
7f2e842e9000-7f2e844e8000 ---p 0001c000 08:13 791202
/home/xiemeilong/.pythonbrew/pythons/Python-2.6.7/lib/python2.6/lib-dynload/_ctypes.so
7f2e844e8000-7f2e844e9000 r--p 0001b000 08:13 791202
/home/xiemeilong/.pythonbrew/pythons/Python-2.6.7/lib/python2.6/lib-dynload/_ctypes.so
7f2e844e9000-7f2e844ed000 rw-p 0001c000 08:13 791202
/home/xiemeilong/.pythonbrew/pythons/Python-2.6.7/lib/python2.6/lib-dynload/_ctypes.so
7f2e844ed000-7f2e844ee000 ---p 00000000 00:00 0
7f2e844ee000-7f2e84cee000 rw-p 00000000 00:00 0
[stack:7023]
7f2e84cee000-7f2e84cef000 ---p 00000000 00:00 0
7f2e84cef000-7f2e854ef000 rw-p 00000000 00:00 0
[stack:7022]
7f2e854ef000-7f2e854f5000 r-xp 00000000 08:13 791185
/home/xiemeilong/.pythonbrew/pythons/Python-2.6.7/lib/python2.6/lib-dynload/_multiprocessing.so
7f2e854f5000-7f2e856f4000 ---p 00006000 08:13 791185
/home/xiemeilong/.pythonbrew/pythons/Python-2.6.7/lib/python2.6/lib-dynload/_multiprocessing.so
7f2e856f4000-7f2e856f5000 r--p 00005000 08:13 791185
/home/xiemeilong/.pythonbrew/pythons/Python-2.6.7/lib/python2.6/lib-dynload/_multiprocessing.so
7f2e856f5000-7f2e856f6000 rw-p 00006000 08:13 791185
/home/xiemeilong/.pythonbrew/pythons/Python-2.6.7/lib/python2.6/lib-dynload/_multiprocessing.so
7f2e856f6000-7f2e856f9000 r-xp 00000000 08:13 791198
/home/xiemeilong/.pythonbrew/pythons/Python-2.6.7/lib/python2.6/lib-dynload/_json.so
7f2e856f9000-7f2e858f8000 ---p 00003000 08:13 791198
/home/xiemeilong/.pythonbrew/pythons/Python-2.6.7/lib/python2.6/lib-dynload/_json.so
7f2e858f8000-7f2e858f9000 r--p 00002000 08:13 791198
/home/xiemeilong/.pythonbrew/pythons/Python-2.6.7/lib/python2.6/lib-dynload/_json.so
7f2e858f9000-7f2e858fa000 rw-p 00003000 08:13 791198
/home/xiemeilong/.pythonbrew/pythons/Python-2.6.7/lib/python2.6/lib-dynload/_json.so
7f2e858fa000-7f2e85a98000 r-xp 00000000 08:12 919525
/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f2e85a98000-7f2e85c97000 ---p 0019e000 08:12 919525
/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f2e85c97000-7f2e85cb2000 r--p 0019d000 08:12 919525
/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f2e85cb2000-7f2e85cbd000 rw-p 001b8000 08:12 919525
/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f2e85cbd000-7f2e85cc1000 rw-p 00000000 00:00 0
7f2e85cda000-7f2e85cdd000 r-xp 00000000 08:13 791188
/home/xiemeilong/.pythonbrew/pythons/Python-2.6.7/lib/python2.6/lib-dynload/_hashlib.so
7f2e85cdd000-7f2e85edc000 ---p 00003000 08:13 791188
/home/xiemeilong/.pythonbrew/pythons/Python-2.6.7/lib/python2.6/lib-dynload/_hashlib.so
7f2e85edc000-7f2e85edd000 r--p 00002000 08:13 791188
/home/xiemeilong/.pythonbrew/pythons/Python-2.6.7/lib/python2.6/lib-dynload/_hashlib.so
7f2e85edd000-7f2e85ede000 rw-p 00003000 08:13 791188
/home/xiemeilong/.pythonbrew/pythons/Python-2.6.7/lib/python2.6/lib-dynload/_hashlib.so
7f2e85ede000-7f2e85ee1000 r-xp 00000000 08:13 791191
/home/xiemeilong/.pythonbrew/pythons/Python-2.6.7/lib/python2.6/lib-dynload/_heapq.so
7f2e85ee1000-7f2e860e0000 ---p 00003000 08:13 791191
/home/xiemeilong/.pythonbrew/pythons/Python-2.6.7/lib/python2.6/lib-dynload/_heapq.so
7f2e860e0000-7f2e860e1000 r--p 00002000 08:13 791191
/home/xiemeilong/.pythonbrew/pythons/Python-2.6.7/lib/python2.6/lib-dynload/_heapq.so
7f2e860e1000-7f2e860e3000 rw-p 00003000 08:13 791191
/home/xiemeilong/.pythonbrew/pythons/Python-2.6.7/lib/python2.6/lib-dynload/_heapq.so
7f2e860e3000-7f2e860e4000 ---p 00000000 00:00 0
7f2e860e4000-7f2e868e4000 rw-p 00000000 00:00 0
[stack:7021]
7f2e868e4000-7f2e868e5000 ---p 00000000 00:00 0
7f2e868e5000-7f2e870e5000 rw-p 00000000 00:00 0
[stack:7020]
7f2e870e5000-7f2e870e9000 r-xp 00000000 08:12 1573707
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
7f2e870e9000-7f2e872e9000 ---p 00004000 08:12 1573707
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
7f2e872e9000-7f2e872ea000 r--p 00004000 08:12 1573707
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
7f2e872ea000-7f2e872eb000 rw-p 00005000 08:12 1573707
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
7f2e872eb000-7f2e872ec000 ---p 00000000 00:00 0
7f2e872ec000-7f2e87aec000 rw-p 00000000 00:00 0
[stack:7018]
7f2e87aec000-7f2e87aed000 ---p 00000000 00:00 0
7f2e87aed000-7f2e882ed000 rw-p 00000000 00:00 0
[stack:7017]
7f2e882ed000-7f2e882ee000 ---p 00000000 00:00 0
7f2e882ee000-7f2e88aee000 rw-p 00000000 00:00 0
[stack:7016]
7f2e88aee000-7f2e88afa000 r-xp 00000000 08:12 919580
/lib/x86_64-linux-gnu/libnss_files-2.15.so
7f2e88afa000-7f2e88cf9000 ---p 0000c000 08:12 919580
/lib/x86_64-linux-gnu/libnss_files-2.15.so
7f2e88cf9000-7f2e88cfa000 r--p 0000b000 08:12 919580
/lib/x86_64-linux-gnu/libnss_files-2.15.so
7f2e88cfa000-7f2e88cfb000 rw-p 0000c000 08:12 919580
/lib/x86_64-linux-gnu/libnss_files-2.15.so
7f2e88cfb000-7f2e88d05000 r-xp 00000000 08:12 919584
/lib/x86_64-linux-gnu/libnss_nis-2.15.so
7f2e88d05000-7f2e88f05000 ---p 0000a000 08:12 919584
/lib/x86_64-linux-gnu/libnss_nis-2.15.so
7f2e88f05000-7f2e88f06000 r--p 0000a000 08:12 919584
/lib/x86_64-linux-gnu/libnss_nis-2.15.so
7f2e88f06000-7f2e88f07000 rw-p 0000b000 08:12 919584
/lib/x86_64-linux-gnu/libnss_nis-2.15.so
7f2e88f07000-7f2e88f1e000 r-xp 00000000 08:12 919574
/lib/x86_64-linux-gnu/libnsl-2.15.so
7f2e88f1e000-7f2e8911d000 ---p 00017000 08:12 919574
/lib/x86_64-linux-gnu/libnsl-2.15.so
7f2e8911d000-7f2e8911e000 r--p 00016000 08:12 919574
/lib/x86_64-linux-gnu/libnsl-2.15.so
7f2e8911e000-7f2e8911f000 rw-p 00017000 08:12 919574
/lib/x86_64-linux-gnu/libnsl-2.15.so
7f2e8911f000-7f2e89121000 rw-p 00000000 00:00 0
7f2e89121000-7f2e89129000 r-xp 00000000 08:12 919576
/lib/x86_64-linux-gnu/libnss_compat-2.15.so
7f2e89129000-7f2e89328000 ---p 00008000 08:12 919576
/lib/x86_64-linux-gnu/libnss_compat-2.15.so
7f2e89328000-7f2e89329000 r--p 00007000 08:12 919576
/lib/x86_64-linux-gnu/libnss_compat-2.15.so
7f2e89329000-7f2e8932a000 rw-p 00008000 08:12 919576
/lib/x86_64-linux-gnu/libnss_compat-2.15.so
7f2e8932a000-7f2e89a0b000 r--p 00000000 08:12 1314994
/usr/lib/locale/locale-archive
7f2e89a0b000-7f2e89a2a000 r-xp 00000000 08:12 1316329
/usr/lib/x86_64-linux-gnu/libatk-1.0.so.0.20609.1
7f2e89a2a000-7f2e89c2a000 ---p 0001f000 08:12 1316329
/usr/lib/x86_64-linux-gnu/libatk-1.0.so.0.20609.1
7f2e89c2a000-7f2e89c2c000 r--p 0001f000 08:12 1316329
/usr/lib/x86_64-linux-gnu/libatk-1.0.so.0.20609.1
7f2e89c2c000-7f2e89c2d000 rw-p 00021000 08:12 1316329
/usr/lib/x86_64-linux-gnu/libatk-1.0.so.0.20609.1
7f2e89c2d000-7f2e8a05a000 r-xp 00000000 08:12 1316625
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.13
7f2e8a05a000-7f2e8a259000 ---p 0042d000 08:12 1316625
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.13
7f2e8a259000-7f2e8a260000 r--p 0042c000 08:12 1316625
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.13
7f2e8a260000-7f2e8a264000 rw-p 00433000 08:12 1316625
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.13
7f2e8a264000-7f2e8a266000 rw-p 00000000 00:00 0
7f2e8a266000-7f2e8a26e000 r-xp 00000000 08:12 1317003
/usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0
7f2e8a26e000-7f2e8a46e000 ---p 00008000 08:12 1317003
/usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0
7f2e8a46e000-7f2e8a46f000 r--p 00008000 08:12 1317003
/usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0
7f2e8a46f000-7f2e8a470000 rw-p 00009000 08:12 1317003
/usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0
7f2e8a470000-7f2e8a472000 r-xp 00000000 08:12 1317007
/usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0
7f2e8a472000-7f2e8a671000 ---p 00002000 08:12 1317007
/usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0
7f2e8a671000-7f2e8a672000 r--p 00001000 08:12 1317007
/usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0
7f2e8a672000-7f2e8a673000 rw-p 00002000 08:12 1317007
/usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0
7f2e8a673000-7f2e8a698000 r-xp 00000000 08:12 919606
/lib/x86_64-linux-gnu/libpng12.so.0.49.0
7f2e8a698000-7f2e8a897000 ---p 00025000 08:12 919606
/lib/x86_64-linux-gnu/libpng12.so.0.49.0
7f2e8a897000-7f2e8a898000 r--p 00024000 08:12 919606
/lib/x86_64-linux-gnu/libpng12.so.0.49.0
7f2e8a898000-7f2e8a899000 rw-p 00025000 08:12 919606
/lib/x86_64-linux-gnu/libpng12.so.0.49.0
7f2e8a899000-7f2e8a919000 r-xp 00000000 08:12 1316812
/usr/lib/x86_64-linux-gnu/libpixman-1.so.0.26.0
7f2e8a919000-7f2e8ab18000 ---p 00080000 08:12 1316812
/usr/lib/x86_64-linux-gnu/libpixman-1.so.0.26.0
7f2e8ab18000-7f2e8ab1e000 r--p 0007f000 08:12 1316812
/usr/lib/x86_64-linux-gnu/libpixman-1.so.0.26.0
7f2e8ab1e000-7f2e8ab1f000 rw-p 00085000 08:12 1316812
/usr/lib/x86_64-linux-gnu/libpixman-1.so.0.26.0
7f2e8ab1f000-7f2e8ab45000 r-xp 00000000 08:12 919535
/lib/x86_64-linux-gnu/libexpat.so.1.6.0
7f2e8ab45000-7f2e8ad45000 ---p 00026000 08:12 919535
/lib/x86_64-linux-gnu/libexpat.so.1.6.0
7f2e8ad45000-7f2e8ad47000 r--p 00026000 08:12 919535
/lib/x86_64-linux-gnu/libexpat.so.1.6.0
7f2e8ad47000-7f2e8ad48000 rw-p 00028000 08:12 919535
/lib/x86_64-linux-gnu/libexpat.so.1.6.0
7f2e8ad48000-7f2e8ad60000 r-xp 00000000 08:12 919617
/lib/x86_64-linux-gnu/libresolv-2.15.solibclang: crash detected during
reparsing
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sun Nov 4 01:04:06 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 04 Nov 2012 09:04:06 +0000
Subject: [LLVMbugs] [Bug 14160] BasicAA omits swapping of TBAAInfo
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14160
Duncan Sands changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #6 from Duncan Sands 2012-11-04 03:04:06 CST ---
Patch applied in commit 167370.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sun Nov 4 02:56:49 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 04 Nov 2012 10:56:49 +0000
Subject: [LLVMbugs] [Bug 14253] New: No unused warning for variables of
non-trivial types
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14253
Bug #: 14253
Summary: No unused warning for variables of non-trivial types
Product: clang
Version: trunk
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: l.lunak at suse.cz
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Clang warns about unused variables e.g. of type 'int', but not 'std::string' :
$ cat a.cpp
#include
void foo()
{
int i;
std::string s;
}
$ clang++ -Wall -Wunused -c a.cpp
a.cpp:5:9: warning: unused variable 'i' [-Wunused-variable]
int i;
^
1 warning generated.
In the function 's' is apparently unused too, but the compiler cannot tell it.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sun Nov 4 03:54:44 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 04 Nov 2012 11:54:44 +0000
Subject: [LLVMbugs] [Bug 14254] New: llvm-config --libfiles lists libraries
which don't appear to exist.
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14254
Bug #: 14254
Summary: llvm-config --libfiles lists libraries which don't
appear to exist.
Product: tools
Version: 3.1
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: llvm-config
AssignedTo: unassignedbugs at nondot.org
ReportedBy: terrywallwork at netscape.net
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
I recently built llvm 3.1 final, on Fedora 17 box 32 bit Intel box, using the
following configure options:
${SVNROOTDIRLLVMCOLLECTION}/llvm/configure --enable-optimized
--prefix="${LLVMCOLLECTIONBUILDIR}/LLVMInstall"
This all worked well (as far as I can tell), install seems to have gone
correctly as well. But when I then try to build an application that uses LLVM
(Blender in my case for OSL). I get linking errors about libraries not
existing. I checked with llvm-config --libfiles which libraries llvm was
saying it needed to be successfully linked and it seems to list libraries that
don't seem to exist in llvm lib directory.
In my case:
${LLVMCOLLECTIONBUILDIR}/LLVMInstall/lib/libLLVMIntelJITEvents.a
${LLVMCOLLECTIONBUILDIR}/LLVMInstall/lib/libLLVMOProfileJIT.a
${LLVMCOLLECTIONBUILDIR}/LLVMInstall/lib/libgtest_main.a
${LLVMCOLLECTIONBUILDIR}/LLVMInstall/lib/libgtest.a
To get it to work I ended up intercepting calls to llvm-config and filtering
out these libraries so Blender would compile. Once it did compile Blender OSL
works fine.
I know this is not the correct way to do things but I am not a hard core
programmer so doing it the correct way is beyond me.
I posted here because i am not sure if this is the same bug as this one:
http://llvm.org/bugs/show_bug.cgi?id=11886
Apologies if this is simply me not knowing how to configure LLVM correctly.
If you need any more information please let me know.
Terry Wallwork
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sun Nov 4 04:27:25 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 04 Nov 2012 12:27:25 +0000
Subject: [LLVMbugs] [Bug 14255] New: _GLIBCXX_DEBUG broken?
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14255
Bug #: 14255
Summary: _GLIBCXX_DEBUG broken?
Product: libc++
Version: unspecified
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: release blocker
Priority: P
Component: All Bugs
AssignedTo: hhinnant at apple.com
ReportedBy: dave at boostpro.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
The following program prints "invalid quantifier" when compiled with "g++ -I
~/src/boost/svn/release -D_GLIBCXX_DEBUG bug.cpp". Of course this could
always be a bug in Boost.XPressive, but g++ (with libstdc++) doesn't have this
problem. Haven't gone further to track it down, sorry. I've enclosed
preprocessed source.
#include
int main()
{
try
{
boost::xpressive::sregex::compile("x{4}");
}
catch(std::exception& e)
{
std::cout << e.what() << std::endl;
}
}
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sun Nov 4 06:18:57 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 04 Nov 2012 14:18:57 +0000
Subject: [LLVMbugs] [Bug 14256] New: Reference to non-existent class in the
CodeGenerator.html doc
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14256
Bug #: 14256
Summary: Reference to non-existent class in the
CodeGenerator.html doc
Product: Documentation
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: General docs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: eliben at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
CodeGenerator.html mentions:
"The initial SelectionDAG is naïvely peephole expanded from the LLVM input by
the SelectionDAGLowering class in the
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp file"
However, SelectionDAGLowering does not exist in the above file (or anywhere
else).
P.S. this class is also mentioned in a comment in
./include/llvm/Target/TargetLowering.h
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sun Nov 4 13:10:44 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 04 Nov 2012 21:10:44 +0000
Subject: [LLVMbugs] [Bug 14257] New: clang/docs/Makefile is not safe for
multithreading
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14257
Bug #: 14257
Summary: clang/docs/Makefile is not safe for multithreading
Product: Build scripts
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Makefiles
AssignedTo: unassignedbugs at nondot.org
ReportedBy: blubberquark at v4hn.de
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
The relevant failing part of a build with --enable-doxygen and two build jobs
is the following:
make[3]: Entering directory `/usr/src/llvm-3.1.src/tools/clang/docs'
llvm[3]: Building doxygen documentation
llvm[3]: Packaging HTML documentation
[some unrelated warnings about obsolete symbols in doxygen.cfg...]
Notice: Output directory `/usr/src/llvm-3.1.src/tools/clang/docs/doxygen' does
not exist. I have created it for you.
llvm[3]: Packaging doxygen documentation
/bin/tar: doxygen: file changed as we read it
make[3]: *** [/usr/src/llvm-3.1.src/tools/clang/docs/doxygen.tar.gz] Error 1
make[3]: *** Waiting for unfinished jobs....
warning: source /usr/src/llvm-3.1.src/tools/clang/docs/img is not a readable
file or directory... skipping.
Searching for include files...
Searching for files in directory /usr/src/llvm-3.1.src/tools/clang/include
Searching for files in directory
/usr/src/llvm-3.1.src/tools/clang/include/clang
Searching for files in directory
/usr/src/llvm-3.1.src/tools/clang/include/clang/Analysis
[...]
Observe that (1.) the "Packaging ... documentation" goals doesn't wait for the
"Building doxygen documentation" goal and (2.) the doxygen job goes on and
produces over 5000 dot graphs before the
build actually fails!
Also you might not want to build all these graphs by default in the first place
when building the documentation (at least not for releases), but that's a
different story.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sun Nov 4 13:22:00 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 04 Nov 2012 21:22:00 +0000
Subject: [LLVMbugs] [Bug 14258] New: clang should check NSKeyValueCoding.h
methods for key and keypath naming rules
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14258
Bug #: 14258
Summary: clang should check NSKeyValueCoding.h methods for key
and keypath naming rules
Product: new-bugs
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sean at rogue-research.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Two suggestions:
(1) Due to autocompletion, copy-pasting things around, or lack of coffee, I
sometimes mix up KVC keys and keypaths. ex:
[obj setValue:value forKey:@"selection.foo"];
that should be setValue:forKey*Path*:!
clang could warn whenever a '.' char is found in a string passed to one of the
'key' methods, and even have a fix-it directing the user to the 'keyPath'
variant.
(2) Even more generally, you could validate this requirement of the "Key-Value
Coding Programming Guide":
"Keys must use ASCII encoding, begin with a lowercase letter, and may not
contain whitespace"
I think these checks would be more useful in the compiler, not the static
analyzer.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sun Nov 4 19:02:37 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Mon, 05 Nov 2012 03:02:37 +0000
Subject: [LLVMbugs] [Bug 14256] Reference to non-existent class in the
CodeGenerator.html doc
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14256
Eli Bendersky changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Eli Bendersky 2012-11-04 21:02:37 CST ---
Thanks. Fix committed in r167378
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Mon Nov 5 02:55:39 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Mon, 05 Nov 2012 10:55:39 +0000
Subject: [LLVMbugs] [Bug 14045] Miscompilation of load from nocapture
argument that is indirectly copied to a local alloca
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14045
Richard Osborne changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Richard Osborne 2012-11-05 04:55:39 CST ---
This is fixed in r167381:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20121105/155155.html
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Mon Nov 5 05:33:41 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Mon, 05 Nov 2012 13:33:41 +0000
Subject: [LLVMbugs] [Bug 14259] New: "Should not see dependent types" in
ASTContext.cpp:1284 executed
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14259
Bug #: 14259
Summary: "Should not see dependent types" in
ASTContext.cpp:1284 executed
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: joerg at NetBSD.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Test case:
template
struct fastscriptmember {
type Member __attribute__ ((packed));
};
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Mon Nov 5 06:58:04 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Mon, 05 Nov 2012 14:58:04 +0000
Subject: [LLVMbugs] [Bug 14238] CommandLine.h cl::bits fails to compile with
clang++ and g++ 4.7
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14238
Rafael Ávila de Espíndola changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |rafael.espindola at gmail.com
Resolution| |FIXED
--- Comment #1 from Rafael Ávila de Espíndola 2012-11-05 08:58:04 CST ---
Fixed in r167383.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Mon Nov 5 07:04:31 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Mon, 05 Nov 2012 15:04:31 +0000
Subject: [LLVMbugs] [Bug 14260] New: Invalid write of size 1
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14260
Bug #: 14260
Summary: Invalid write of size 1
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: rafael.espindola at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9494
--> http://llvm.org/bugs/attachment.cgi?id=9494
testcase
Thanks Joerg Sonnenberger for the testcase.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Mon Nov 5 07:17:37 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Mon, 05 Nov 2012 15:17:37 +0000
Subject: [LLVMbugs] [Bug 14261] New: Allow disabling backtrace support by
environment variable
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14261
Bug #: 14261
Summary: Allow disabling backtrace support by environment
variable
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Support Libraries
AssignedTo: unassignedbugs at nondot.org
ReportedBy: joerg at NetBSD.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Bugs like 14260 can result in nasty dead locks at least on Linux. Problem is
that the malloc lock is hold by the current thread and backtrace in glibc wants
to allocate more memory. It would be nice to disable the fancy signal handlers
via environment to make it easier to build test cases without having to hack
the source.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Mon Nov 5 09:09:28 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Mon, 05 Nov 2012 17:09:28 +0000
Subject: [LLVMbugs] [Bug 14262] New: VTable not emitted if key function is
inline and function is not emitted
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14262
Bug #: 14262
Summary: VTable not emitted if key function is inline and
function is not emitted
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: joerg at NetBSD.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9496
--> http://llvm.org/bugs/attachment.cgi?id=9496
Test case
Test case is attached. GCC always emits the vtable, clang only with -O0.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Mon Nov 5 10:32:02 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Mon, 05 Nov 2012 18:32:02 +0000
Subject: [LLVMbugs] [Bug 14237] Clang crashes on invalid code with attributes
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14237
rtrieu at google.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from rtrieu at google.com 2012-11-05 12:32:02 CST ---
It was crashing, then DeLesley fixed it in r167321.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Mon Nov 5 11:44:29 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Mon, 05 Nov 2012 19:44:29 +0000
Subject: [LLVMbugs] [Bug 14263] New: cc1as asserts "Expected to find
-main-file-name" on silly input
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14263
Bug #: 14263
Summary: cc1as asserts "Expected to find -main-file-name" on
silly input
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: nicolasweber at gmx.de
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
I found this while bisecting something else:
hummer:delta thakis$ cat foo.S
.byte (~$0 << 3) | 4
hummer:delta thakis$
/Users/thakis/src/chrome-git/src/third_party/llvm-build/Release+Asserts/bin/clang
-c foo.S
Assertion failed: (HadError && "Parse statement returned an error, but none
emitted!"), function Run, file
/Volumes/MacintoshHD2/src/chrome-git/src/third_party/llvm/lib/MC/MCParser/AsmParser.cpp,
line 558.
0 clang 0x000000010169af45 PrintStackTrace(void*) + 37
1 clang 0x000000010169b304 SignalHandler(int) + 500
2 libSystem.B.dylib 0x00007fff886681ba _sigtramp + 26
3 libSystem.B.dylib 000000000000000000 _sigtramp + 2006548064
4 clang 0x000000010004e9d6 abort + 22
5 clang 0x000000010004e9b1 __assert_rtn + 81
6 clang 0x000000010117dc95 (anonymous
namespace)::AsmParser::Run(bool, bool) + 437
7 clang 0x000000010005653a cc1as_main(char const**, char const**,
char const*, void*) + 8490
8 clang 0x0000000100057a41 main + 2273
9 clang 0x0000000100051764 start + 52
10 clang 0x0000000000000009 start + 4294633689
hummer:delta thakis$
/Users/thakis/src/chrome-git/src/third_party/llvm-build/Release+Asserts/bin/clang
--version
clang version 3.2 (trunk 165787)
Target: x86_64-apple-darwin10.8.0
Thread model: posix
Happens with r167287 too, so this seems to have existed for a while. The
assertion was added in Chad's r156117
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Mon Nov 5 11:51:25 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Mon, 05 Nov 2012 19:51:25 +0000
Subject: [LLVMbugs] [Bug 14264] New: cc1as regression (165787:167287):
"Expected to find -main-file-name" on valid input when -gdwarf-2 is used
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14264
Bug #: 14264
Summary: cc1as regression (165787:167287): "Expected to find
-main-file-name" on valid input when -gdwarf-2 is used
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: nicolasweber at gmx.de
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
This is happening while compiling a .S file in chromium. Reduced:
hummer:delta thakis$ cat foo.S
.macro switcher
ljmp *0x38(%ecx)
.endmacro
switcher NaClSwitchNoSSE, 0
hummer:delta thakis$
/Users/thakis/src/chrome-git/src/third_party/llvm-build/Release+Asserts/bin/clang
-c foo.S -gdwarf-2
0 clang 0x00000001016cb955 PrintStackTrace(void*) + 37
1 clang 0x00000001016cbd64 SignalHandler(int) + 564
2 libSystem.B.dylib 0x00007fff886681ba _sigtramp + 26
3 clang 0x00000001017d1b65
clang::StringLiteral::outputString(llvm::raw_ostream&)::Hex + 468133
4 clang 0x00000001011b008b (anonymous
namespace)::AsmParser::ParseStatement((anonymous
namespace)::ParseStatementInfo&) + 5355
5 clang 0x00000001011ab9b3 (anonymous
namespace)::AsmParser::Run(bool, bool) + 451
6 clang 0x0000000100055552 cc1as_main(char const**, char const**,
char const*, void*) + 8674
7 clang 0x0000000100056a35 main + 2261
8 clang 0x00000001000527c4 start + 52
Stack dump:
0. Program arguments:
/Volumes/MacintoshHD2/src/chrome-git/src/third_party/llvm-build/Release+Asserts/bin/clang
-cc1as -triple x86_64-apple-macosx10.6.0 -filetype obj -g -o foo.o
/var/folders/++/++1Gyk++6+0++4RjPqRgNE++ojg/-Tmp-/foo-6Xf2NG.s
1. Program arguments: -triple x86_64-apple-macosx10.6.0 -filetype obj -g -o
foo.o /var/folders/++/++1Gyk++6+0++4RjPqRgNE++ojg/-Tmp-/foo-6Xf2NG.s
0 clang 0x00000001016cb955 PrintStackTrace(void*) + 37
1 clang 0x00000001016cbd64 SignalHandler(int) + 564
2 libSystem.B.dylib 0x00007fff886681ba _sigtramp + 26
3 clang 0x00000001017d1b65
clang::StringLiteral::outputString(llvm::raw_ostream&)::Hex + 468133
4 clang 0x00000001011b008b (anonymous
namespace)::AsmParser::ParseStatement((anonymous
namespace)::ParseStatementInfo&) + 5355
5 clang 0x00000001011ab9b3 (anonymous
namespace)::AsmParser::Run(bool, bool) + 451
6 clang 0x0000000100055552 cc1as_main(char const**, char const**,
char const*, void*) + 8674
7 clang 0x0000000100056a35 main + 2261
8 clang 0x00000001000527c4 start + 52
clang: error: unable to execute command: Segmentation fault
clang: error: clang integrated assembler command failed due to signal (use -v
to see invocation)
clang version 3.2 (trunk 167287)
Target: x86_64-apple-darwin10.8.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg:
This is a somewhat recent regresion.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Mon Nov 5 12:55:31 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Mon, 05 Nov 2012 20:55:31 +0000
Subject: [LLVMbugs] [Bug 14265] New: Crash on invalid trying to delete a
member function declared with a typedef'd function type
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14265
Bug #: 14265
Summary: Crash on invalid trying to delete a member function
declared with a typedef'd function type
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++11
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: richard-llvm at metafoo.co.uk
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
struct S { typedef int F(); F f = delete; }
Gives:
:1:35: error: '= delete' is a function definition and must occur in a
standalone declaration
struct S { typedef int F(); F f = delete; }
^
clang-3.2: include/llvm/Support/Casting.h:79: static bool
llvm::isa_impl_cl:
:doit(const From *) [To = clang::IntegerLiteral, From = clang::Expr *]:
Assertion `Val && "isa<> used on a null pointer"' failed.
[...]
11 clang-3.2 0x00000000021ddd92
clang::Sema::AddInitializerToDecl(clang::Decl*, clang::Expr*, bool, bool) + 130
12 clang-3.2 0x0000000001c75220
clang::Parser::ParseCXXClassMemberDeclaration(clang::AccessSpecifier,
clang::AttributeList*, clang::Parser::ParsedTemplateInfo const&,
clang::ParsingDeclRAIIObject*) + 6704
That diagnostic isn't great, and we shouldn't crash here!
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Mon Nov 5 13:57:03 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Mon, 05 Nov 2012 21:57:03 +0000
Subject: [LLVMbugs] [Bug 14264] cc1as regression (r167237): crash with
"Expected to find -main-file-name" on valid input when -gdwarf-2 is used
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14264
Kevin Enderby changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |enderby at apple.com
Resolution| |FIXED
--- Comment #3 from Kevin Enderby 2012-11-05 15:57:03 CST ---
Thanks for the reduced test case! Fixed with revision r167408.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Mon Nov 5 16:45:26 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Tue, 06 Nov 2012 00:45:26 +0000
Subject: [LLVMbugs] [Bug 14266] New: Problem with PCH serialization and
friend template specializations
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14266
Bug #: 14266
Summary: Problem with PCH serialization and friend template
specializations
Product: clang
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: ripzonetriton at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9497
--> http://llvm.org/bugs/attachment.cgi?id=9497
PCH
Clang asserts when trying to compile a file using a previously generated PCH.
Assertion failed: (!Canon.isNull() || T.isDependent() ||
anyDependentTemplateArguments(Args, NumArgs, InstantiationDependent)) && "No
canonical type for non-dependent class template specialization", file
..\..\..\..\..\tools\clang\lib\AST\Type.cpp, line 1917
This affects MSVC 2008 header but I was able to reduce it to a much more
reasonable test case:
PCH:
template class list {
template class A;
friend class A<0>;
};
Steps to reproduce:
1. Generate PCH
clang -cc1 -xc++ -emit-pch -o pch.h.pch pch.h
2. Compile file with PCH
clang -cc1 -xc++ -include-pch pch.h.pch main.cpp
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Mon Nov 5 17:41:35 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Tue, 06 Nov 2012 01:41:35 +0000
Subject: [LLVMbugs] [Bug 14267] New: TargetLowering operation legality
should be largely inferred from .td files
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14267
Bug #: 14267
Summary: TargetLowering operation legality should be largely
inferred from .td files
Product: libraries
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: grosbach at apple.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
In a thread on llvm-commits, Chris made the comment, "I really regret not
having the TargetLowering operation legality tables not be inferred from the
.td files from the get-go." That got me thinking about it a bit, and that seems
a very doable refactorization.
Every target has a long list of setOperationAction() calls in the constructor
for the TargetLowering. The .td files have a lot of information about what
operations are legal for what types from the instruction selection patterns. If
a target only marked explicitly those actions which are required to be Custom,
everything else could default to Expand, and a lot of error-prone boilerplate
code in the constructor would go away.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Mon Nov 5 19:09:25 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Tue, 06 Nov 2012 03:09:25 +0000
Subject: [LLVMbugs] [Bug 14268] New: _mm_dp_ps generating 55% more
inefficient instructions
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14268
Bug #: 14268
Summary: _mm_dp_ps generating 55% more inefficient instructions
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: ramihg at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9499
--> http://llvm.org/bugs/attachment.cgi?id=9499
Simple test case
OS used: Mac OS X Mountain Lion
Clang/LLVM Used: 3.2-r167157
Processor: Intel Core i7
I was recently doing some SSE dot product implementations when I noticed a
severe performance drop after using _mm_dp_ps. This didn't make sense as the
x86 instruction latency manual showed that the dpps instruction is only 12
cycles latency.
Further investigation showed that dpps with a memory operand source: (e.g. dpps
$15, (%rex, %rdx), %xmm0) is about 55% slower than issuing a movaps then a dpps
with a register source/destination!
I've created and attached a simple test case that does dpps using intrinsics,
then using hand-written assembly with register operands, then using
hand-written assembly with memory source operand. The intrinsics version issued
instructions with memory operands.
Here is how I compiled the test:
clang++ -march=native -std=c++11 -stdlib=libc++ -O3 dotps.cpp
Here are the results I got (running each version 100000000 times):
DotPsIntrin: 249.332 ms
DotPsFast: 159.916 ms
DotPsSlow: 249.076 ms
I also tried the intrinsics version with Visual Studio 2012 and the Intel
compiler. Both generated the efficient movaps/dpps version even when specifying
"Optimize for Space".
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Tue Nov 6 01:41:06 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Tue, 06 Nov 2012 09:41:06 +0000
Subject: [LLVMbugs] [Bug 14269] New: clang crashes when trying to get
address of the bitfield and generates incorrect code
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14269
Bug #: 14269
Summary: clang crashes when trying to get address of the
bitfield and generates incorrect code
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: a.bataev at gmx.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9500
--> http://llvm.org/bugs/attachment.cgi?id=9500
preprocessed source and associated run script
The following code crashes clang compiled with Asserts
typedef struct foo {
unsigned int field1 : 1;
unsigned int field2 : 2;
unsigned int field3 : 3;
} foo;
foo x;
void bar()
{
__asm__ ( "movl $5, %0" :
"=rm" (x.field3));
}
int main()
{
bar();
return (x.field3);
}
Here is the report
Assertion failed: (isSimple()), function getAddress, file
/llvm_trunk/llvm/tools/clang/lib/CodeGen/CGValue.h, line 230.
0 clang 0x000000010b904e82 _ZL15PrintStackTracePv + 34
1 clang 0x000000010b905489 _ZL13SignalHandleri + 793
2 libsystem_c.dylib 0x00007fff8ee66cfa _sigtramp + 26
3 libsystem_c.dylib 0x000000010c212f38 _sigtramp + 18446603342617166424
4 clang 0x000000010b9050c6 abort + 22
5 clang 0x000000010b905087 __assert_rtn + 55
6 clang 0x000000010a782711
clang::CodeGen::CodeGenFunction::EmitAsmStmt(clang::AsmStmt const&) + 8769
7 clang 0x000000010a77e605
clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + 565
8 clang 0x000000010a782e6b
clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&,
bool, clang::CodeGen::AggValueSlot) + 235
9 clang 0x000000010a77e9bd
clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*) + 125
10 clang 0x000000010a77e3f9
clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + 41
11 clang 0x000000010a78f816
clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl,
llvm::Function*, clang::CodeGen::CGFunctionInfo const&) + 694
12 clang 0x000000010a798a2d
clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl)
+ 1933
13 clang 0x000000010a795c34
clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl) + 340
14 clang 0x000000010a797bca
clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl) + 698
15 clang 0x000000010a79d238
clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) + 296
16 clang 0x000000010a7b950f (anonymous
namespace)::CodeGeneratorImpl::HandleTopLevelDecl(clang::DeclGroupRef) + 127
17 clang 0x000000010a78c88a
clang::BackendConsumer::HandleTopLevelDecl(clang::DeclGroupRef) + 170
18 clang 0x000000010a7c67d3 clang::ParseAST(clang::Sema&, bool,
bool) + 323
19 clang 0x000000010a78bc16 clang::CodeGenAction::ExecuteAction() +
1286
20 clang 0x000000010a588e5b clang::FrontendAction::Execute() + 107
21 clang 0x000000010a568f4a
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 986
22 clang 0x000000010a53137c
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3388
23 clang 0x000000010a5278fd cc1_main(char const**, char const**,
char const*, void*) + 3005
24 clang 0x000000010a52d2b1 main + 689
25 clang 0x000000010a526d34 start + 52
26 clang 0x000000000000002c start + 18446744069241410348
Stack dump:
0. Program arguments: /llvm_trunk/build/Release+Asserts/bin/clang -cc1
-triple x86_64-apple-macosx10.7.0 -emit-obj -mrelax-all -disable-free
-main-file-name tr27771.c -pic-level 2 -mdisable-fp-elim -masm-verbose
-munwind-tables -target-cpu core2 -target-linker-version 127.2 -coverage-file
/tr27771.o -resource-dir /llvm_trunk/build/Release+Asserts/bin/../lib/clang/3.2
-fmodule-cache-path
/var/folders/zz/zyxvpxvq6csfxvn_n01bj6140_w9h9/T/clang-module-cache
-fdebug-compilation-dir / -ferror-limit 19 -fmessage-length 157
-stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.7.0
-fobjc-dispatch-method=mixed -fobjc-default-synthesize-properties
-fdiagnostics-show-option -fcolor-diagnostics -o tr27771.o -x c tr27771.c
1. tr27771.c:17:1: current parser token 'int'
2. tr27771.c:10:6: LLVM IR generation of declaration 'bar'
3. tr27771.c:10:6: Generating code for declaration 'bar'
4. tr27771.c:11:1: LLVM IR generation of compound statement ('{}')
clang: error: unable to execute command: Illegal instruction: 4
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2 (trunk 166569)
Target: x86_64-apple-darwin11.2.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg:
/var/folders/zz/zyxvpxvq6csfxvn_n01bj6140_w9h9/T/tr27771-s6qSaT.c
clang: note: diagnostic msg:
/var/folders/zz/zyxvpxvq6csfxvn_n01bj6140_w9h9/T/tr27771-s6qSaT.sh
clang: note: diagnostic msg:
********************
Clang without asserts generates incorrect code which writes to field3 incorrect
value.
Alexey Bataev
Software Engineer
Intel Compiler Team
Intel Corp.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Tue Nov 6 02:18:25 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Tue, 06 Nov 2012 10:18:25 +0000
Subject: [LLVMbugs] [Bug 14270] New: Support for __builtin_iceil() is
missing in dragonegg
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14270
Bug #: 14270
Summary: Support for __builtin_iceil() is missing in dragonegg
Product: dragonegg
Version: 3.0
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: New Bugs
AssignedTo: baldrick at free.fr
ReportedBy: anitha.boyapati at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9501
--> http://llvm.org/bugs/attachment.cgi?id=9501
Testcase to reproduce the bug
Testcase attached. Compile it as follows:
gcc -fplugin=dragonegg.so -o t t.c -O2 -lm -ffast-math
This presently outputs:
/tmp/ccsEVygv.o: In function `main':
t.c:(.text+0x73): undefined reference to `__builtin_iceil'
/tmp/ccsEVygv.o: In function `iceil':
t.c:(.text+0x1): undefined reference to `__builtin_iceil'
collect2: error: ld returned 1 exit status
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Tue Nov 6 03:52:16 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Tue, 06 Nov 2012 11:52:16 +0000
Subject: [LLVMbugs] [Bug 14271] New: Assertion `N.getNode()->getNodeId() !=
NewNode && "Mapped to new node!"'
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14271
Bug #: 14271
Summary: Assertion `N.getNode()->getNodeId() != NewNode &&
"Mapped to new node!"'
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: antoine.balestrat at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Hello !
LLVM/Clang as of r167445 fails to compile the following testcase at -O1 and
higher in 32 bits mode.
$ cat newnode.c
void f(void)
{
unsigned short a, *p;
long long b;
for(;;)
{
a = ++b;
(a *= a || 1 | (b = 0)) && (*p = a + b ? : a == 1);
p = &b;
}
}
$ clong -w -O1 -m32 newnode.c
clang:
/home/merkil/git/clang/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp:618:
void llvm::DAGTypeLegalizer::RemapValue(llvm::SDValue &): Assertion
`N.getNode()->getNodeId() != NewNode && "Mapped to new node!"' failed.
0 clang 0x0000000001aad3ef
1 clang 0x0000000001aad8d3
2 libpthread.so.0 0x00007fb73248a910
3 libc.so.6 0x00007fb7316f3ff5 gsignal + 53
4 libc.so.6 0x00007fb7316f5307 abort + 327
5 libc.so.6 0x00007fb7316ed1b2
6 libc.so.6 0x00007fb7316ed262
7 clang 0x00000000014831bf
8 clang 0x0000000001482d72
9 clang 0x00000000014821cf
10 clang 0x0000000001482256
11 clang 0x0000000001481a82
12 clang 0x0000000001488607 llvm::SelectionDAG::LegalizeTypes() + 423
13 clang 0x0000000001431f29
llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 1433
14 clang 0x00000000014314f6
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 7014
15 clang 0x000000000142edf4
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 1156
16 clang 0x0000000001568f94
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 116
17 clang 0x0000000001a12a4b
llvm::FPPassManager::runOnFunction(llvm::Function&) + 443
18 clang 0x0000000001a12cab
llvm::FPPassManager::runOnModule(llvm::Module&) + 155
19 clang 0x0000000001a12f23
llvm::MPPassManager::runOnModule(llvm::Module&) + 419
20 clang 0x0000000001a134a8 llvm::PassManagerImpl::run(llvm::Module&)
+ 408
21 clang 0x0000000001a1360a llvm::PassManager::run(llvm::Module&) +
10
22 clang 0x00000000007a2947
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 5863
23 clang 0x00000000007a03fa
24 clang 0x00000000008d4d05 clang::ParseAST(clang::Sema&, bool, bool)
+ 549
25 clang 0x000000000079f442 clang::CodeGenAction::ExecuteAction() +
178
26 clang 0x0000000000641295 clang::FrontendAction::Execute() + 101
27 clang 0x000000000062332d
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 973
28 clang 0x00000000006098a8
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3768
29 clang 0x00000000006009c6 cc1_main(char const**, char const**, char
const*, void*) + 694
30 clang 0x0000000000605a16 main + 3574
31 libc.so.6 0x00007fb7316e0985 __libc_start_main + 245
32 clang 0x000000000060064d
Stack dump:
0. Program arguments: /home/merkil/git/clang/build/Release+Asserts/bin/clang
-cc1 -triple i386-unknown-linux-gnu -emit-obj -disable-free -main-file-name
newnode.c -mrelocation-model static -fmath-errno -masm-verbose
-mconstructor-aliases -fuse-init-array -target-cpu pentium4
-target-linker-version 2.22.90.20120727 -momit-leaf-frame-pointer -resource-dir
/home/merkil/git/clang/build/Release+Asserts/bin/../lib/clang/3.2
-fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem
/usr/local/include -internal-isystem
/home/merkil/git/clang/build/Release+Asserts/bin/../lib/clang/3.2/include
-internal-externc-isystem /include -internal-externc-isystem /usr/include -O1
-w -fdebug-compilation-dir /home/merkil -ferror-limit 19 -fmessage-length 0
-mstackrealign -fobjc-runtime=gcc -fdiagnostics-show-option -o
/tmp/newnode-r5qEJB.o -x c newnode.c
1. parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'newnode.c'.
4. Running pass 'X86 DAG->DAG Instruction Selection' on function '@f'
clang: error: unable to execute command: Aborted
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2 (trunk 167445)
Target: i386-unknown-linux-gnu
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Tue Nov 6 04:11:15 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Tue, 06 Nov 2012 12:11:15 +0000
Subject: [LLVMbugs] [Bug 13624] powerpc64 complex return value handling does
not match PPC64 ELF ABI
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=13624
Adhemerval Zanella changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |azanella at linux.vnet.ibm.com
Resolution| |FIXED
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Tue Nov 6 04:12:30 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Tue, 06 Nov 2012 12:12:30 +0000
Subject: [LLVMbugs] [Bug 13313] powerpc64 failures running llvmpipe /
lp_test_* tests
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=13313
Adhemerval Zanella changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Tue Nov 6 05:39:20 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Tue, 06 Nov 2012 13:39:20 +0000
Subject: [LLVMbugs] [Bug 13624] powerpc64 complex return value handling does
not match PPC64 ELF ABI
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=13624
Adhemerval Zanella changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Tue Nov 6 06:12:44 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Tue, 06 Nov 2012 14:12:44 +0000
Subject: [LLVMbugs] [Bug 14272] New: clang crash due to nested static
initializer list in combination with auto type
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14272
Bug #: 14272
Summary: clang crash due to nested static initializer list in
combination with auto type
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++11
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: firzen2510 at freenet.de
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
==== DESCRIPTION ====
Attempting to initialize a multi-dimensional static field using a nested static
initializer and the auto-type feature results in a clang crash.
A simplified test code as well as the crash backtrace follow.
The crash did not occur with a single-dimensional type like std::vector.
Instead of that clang complained about a redefinition of different type
('std::initializer_list' vs 'std::vector')(which is probably right
according to the standard).
Other types haven't been tested.
==== TEST CODE ====
#include
class foo
{
static std::unordered_map bar;
};
// std::unordered_map foo::bar { { 0, 0 } }; // << WORKS
// decltype(foo::bar) foo::bar { { 0, 0 } }; // << WORKS
auto foo::bar { { 0, 0 } }; // << clang CRASH
int main(void)
{ return 0; }
==== CRASH BACKTRACE ====
clang:
/home/impulze/llvm/tools/clang/lib/Sema/../../include/clang/AST/TemplateBase.h:223:
clang::QualType clang::TemplateArgument::getAsType() const: Assertion `Kind ==
Type && "Unexpected kind"' failed.
0 clang 0x00000000020a838f
1 clang 0x00000000020a88b9
2 libpthread.so.0 0x00002ae36be0c060
3 libc.so.6 0x00002ae36c9f63a5 gsignal + 53
4 libc.so.6 0x00002ae36c9f9b0b abort + 379
5 libc.so.6 0x00002ae36c9eed4d __assert_fail + 221
6 clang 0x0000000000659056
7 clang 0x0000000000d6bbb9
clang::Sema::DeduceAutoType(clang::TypeSourceInfo*, clang::Expr*&,
clang::TypeSourceInfo*&) + 2361
8 clang 0x0000000000b5ada6
clang::Sema::AddInitializerToDecl(clang::Decl*, clang::Expr*, bool, bool) +
1334
9 clang 0x0000000000a524e1
clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&,
clang::Parser::ParsedTemplateInfo const&) + 1745
10 clang 0x0000000000a60f76
clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, unsigned int, bool,
clang::SourceLocation*, clang::Parser::ForRangeInit*) + 1302
11 clang 0x0000000000a48215
clang::Parser::ParseDeclOrFunctionDefInternal(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec&, clang::AccessSpecifier) + 245
12 clang 0x0000000000a488e9
13 clang 0x0000000000a4895f
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*, clang::AccessSpecifier) + 31
14 clang 0x0000000000a49cd9
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) + 105
15 clang 0x0000000000a4a538
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr&) + 184
16 clang 0x0000000000a41fed clang::ParseAST(clang::Sema&, bool, bool)
+ 509
17 clang 0x0000000000784f81 clang::FrontendAction::Execute() + 145
18 clang 0x000000000076a5b4
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 340
19 clang 0x0000000000751d76
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1462
20 clang 0x000000000074ac90 cc1_main(char const**, char const**, char
const*, void*) + 1248
21 clang 0x0000000000733783 main + 787
22 libc.so.6 0x00002ae36c9e130d __libc_start_main + 237
23 clang 0x000000000074a64d
Stack dump:
0. Program arguments: /home/impulze/install/llvm/bin/clang -cc1 -triple
x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -main-file-name
clang_auto_bug.cc -mrelocation-model static -mdisable-fp-elim -fmath-errno
-masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64
-target-linker-version 2.21.53.20110810 -momit-leaf-frame-pointer -resource-dir
/home/impulze/install/llvm/bin/../lib/clang/3.2 -I /home/impulze/libcxx/include
-I /home/impulze/install/boost-1.51.0/include -fmodule-cache-path
/var/tmp/clang-module-cache -internal-isystem /usr/include/c++/v1
-internal-isystem /usr/local/include -internal-isystem
/home/impulze/install/llvm/bin/../lib/clang/3.2/include
-internal-externc-isystem /usr/include/x86_64-linux-gnu
-internal-externc-isystem /include -internal-externc-isystem /usr/include
-std=c++11 -fdeprecated-macro -fdebug-compilation-dir
/home/firzen/programming/c++11/clang_auto_bug -ferror-limit 19 -fmessage-length
271 -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -fcolor-diagnostics -o /tmp/clang_auto_bug-luayKr.o
-x c++ clang_auto_bug.cc
1. clang_auto_bug.cc:12:27: current parser token ';'
clang: error: unable to execute command: Aborted
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2 (http://llvm.org/git/clang.git
292d67bb69e878104d2cdc1a1f72264e4fc2852a) (http://llvm.org/git/llvm.git
174fbec3dfdf5e20ad5b75dcfcc709011ddb1a12)
Target: x86_64-unknown-linux-gnu
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang++: /home/impulze/llvm/include/llvm/ADT/SmallVector.h:143: const T&
llvm::SmallVectorTemplateCommon
>::operator[](unsigned int) const [with T = const char*,
= void, llvm::SmallVectorTemplateCommon >::const_reference = const char* const&]: Assertion
`begin() + idx < end()' failed.
0 clang++ 0x00000000020a838f
1 clang++ 0x00000000020a88b9
2 libpthread.so.0 0x00002b41fd814060
3 libc.so.6 0x00002b41fe3fe3a5 gsignal + 53
4 libc.so.6 0x00002b41fe401b0b abort + 379
5 libc.so.6 0x00002b41fe3f6d4d __assert_fail + 221
6 clang++ 0x000000000062acc5
7 clang++ 0x00000000007e9596
clang::driver::Driver::generateCompilationDiagnostics(clang::driver::Compilation&,
clang::driver::Command const*) + 870
8 clang++ 0x00000000007342f4 main + 3716
9 libc.so.6 0x00002b41fe3e930d __libc_start_main + 237
10 clang++ 0x000000000074a64d
Stack dump:
0. Program arguments: /home/impulze/install/llvm/bin/clang++
-I/home/impulze/libcxx/include -L/home/impulze/build-libcxx/lib -stdlib=libc++
-I/home/impulze/install/boost-1.51.0/include
-L/home/impulze/install/boost-1.51.0/lib -std=c++11 clang_auto_bug.cc -lstdc++
-lsupc++ -Wl,-rpath,/home/impulze/build-libcxx/lib
-Wl,-rpath,/home/impulze/install/boost-1.51.0/lib -Qunused-arguments
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Tue Nov 6 07:23:16 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Tue, 06 Nov 2012 15:23:16 +0000
Subject: [LLVMbugs] [Bug 14270] Support for __builtin_iceil() is missing in
dragonegg
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14270
Duncan Sands changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Duncan Sands 2012-11-06 09:23:16 CST ---
Fixed here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20121105/155252.html
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Tue Nov 6 08:23:57 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Tue, 06 Nov 2012 16:23:57 +0000
Subject: [LLVMbugs] [Bug 14273] New: sizeof... in return type causes segfault
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14273
Bug #: 14273
Summary: sizeof... in return type causes segfault
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++11
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: chris at bubblescope.net
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Using sizeof... in the return type of a function with variadic arguments
segfaults. See the following code example, reduced from a simple
'make_std_array' function. As you can see, if I use a template to calculate the
size of the variadic arguments, rather than sizeof..., then the code works
fine.
Broken in today's svn.
template
struct myType
{ };
template
struct Counter
{
static const int count = 1 + Counter::count;
};
template
struct Counter
{
static const int count = 1;
};
// This works fine.
template
myType::count>* make_array_with_type_with_counter(const
Args&... args)
{
return 0;
}
// This segfaults
template
myType* make_array_with_type(const Args&... args)
{
return 0;
}
int main(void)
{
make_array_with_type(1,2,3);
}
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Tue Nov 6 09:15:42 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Tue, 06 Nov 2012 17:15:42 +0000
Subject: [LLVMbugs] [Bug 8772] debugging info for subroutine type with
multiple returns is wrong
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=8772
Brian G. Lucas changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Brian G. Lucas 2012-11-06 11:15:42 CST ---
No longer applicable.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Tue Nov 6 11:51:58 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Tue, 06 Nov 2012 19:51:58 +0000
Subject: [LLVMbugs] [Bug 13288] Crash on invalid
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=13288
Jason Haslam changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Jason Haslam 2012-11-06 13:51:58 CST ---
Test case no longer crashes in TOT. Closing as fixed.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Tue Nov 6 11:57:24 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Tue, 06 Nov 2012 19:57:24 +0000
Subject: [LLVMbugs] [Bug 14274] New: double free or corruption with lamba
expression in template using libstdc++
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14274
Bug #: 14274
Summary: double free or corruption with lamba expression in
template using libstdc++
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++11
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: markus at trippelsdorf.de
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Consider (testcase from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55223):
markus at x4 tmp % cat lamb.cpp
#include
#include
template struct C
{
static T test(std::function f = [](int i){return i;})
{return f(42);}
};
int main()
{
C::test();
return 0;
}
markus at x4 tmp % clang++ -std=c++11 lamb.cpp
*** Error in `/usr/local/bin/clang': double free or corruption (out):
0x00000000023790a0 ***
======= Backtrace: =========
/lib/libc.so.6(+0x79046)[0x7f2943672046]
/lib/libc.so.6(+0x79d27)[0x7f2943672d27]
/usr/local/bin/clang[0x89f32b]
/usr/local/bin/clang(_ZN5clang4Sema30PopExpressionEvaluationContextEv+0x215)[0x9a67f5]
/usr/local/bin/clang(_ZN5clang4Sema22BuildCXXDefaultArgExprENS_14SourceLocationEPNS_12FunctionDeclEPNS_11ParmVarDeclE+0x41f)[0x99201f]
/usr/local/bin/clang(_ZN5clang4Sema22GatherArgumentsForCallENS_14SourceLocationEPNS_12FunctionDeclEPKNS_17FunctionProtoTypeEjPPNS_4ExprEjRN4llvm11SmallVectorIS8_Lj8EEENS0_16V
ariadicCallTypeEb+0x1d6)[0x992af6]
/usr/local/bin/clang(_ZN5clang4Sema23ConvertArgumentsForCallEPNS_8CallExprEPNS_4ExprEPNS_12FunctionDeclEPKNS_17FunctionProtoTypeEPS4_jNS_14SourceLocationEb+0x300)[0x9924f0]
/usr/local/bin/clang(_ZN5clang4Sema21BuildResolvedCallExprEPNS_4ExprEPNS_9NamedDeclENS_14SourceLocationEPS2_jS5_S2_b+0x731)[0x9939e1]
...
======= Memory map: ========
00400000-0187f000 r-xp 00000000 08:12 35976
/usr/local/bin/clang
0187f000-01933000 rw-p 0147f000 08:12 35976
/usr/local/bin/clang
01933000-0193d000 rw-p 00000000 00:00 0
019f0000-023d3000 rw-p 00000000 00:00 0 [heap]
7f29435f9000-7f294375d000 r-xp 00000000 08:12 4467637
/lib64/libc-2.16.90.so
7f294375d000-7f294395d000 ---p 00164000 08:12 4467637
/lib64/libc-2.16.90.so
7f294395d000-7f2943961000 r--p 00164000 08:12 4467637
/lib64/libc-2.16.90.so
7f2943961000-7f2943963000 rw-p 00168000 08:12 4467637
/lib64/libc-2.16.90.so
7f2943963000-7f2943967000 rw-p 00000000 00:00 0
7f2943967000-7f2943a52000 r-xp 00000000 08:12 72115136
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.0/libstdc++.so.6.0.17
...
0 clang 0x0000000001620b02
1 clang 0x0000000001620e83
2 libpthread.so.0 0x00007f2943f0c250
3 libc.so.6 0x00007f294362df07 gsignal + 55
4 libc.so.6 0x00007f294362f398 abort + 328
5 libc.so.6 0x00007f294366c477
6 libc.so.6 0x00007f2943672046
7 libc.so.6 0x00007f2943672d27
8 clang 0x000000000089f32b
9 clang 0x00000000009a67f5
clang::Sema::PopExpressionEvaluationContext() + 533
10 clang 0x000000000099201f
clang::Sema::BuildCXXDefaultArgExpr(clang::SourceLocation,
clang::FunctionDecl*, clang::ParmVarDecl*) + 1055
11 clang 0x0000000000992af6
clang::Sema::GatherArgumentsForCall(clang::SourceLocation,
clang::FunctionDecl*, clang::FunctionProtoType const*, unsigned int,
clang::Expr**, unsigned int, llvm::SmallVector&,
clang::Sema::VariadicCallType, bool) + 470
12 clang 0x00000000009924f0
clang::Sema::ConvertArgumentsForCall(clang::CallExpr*, clang::Expr*,
clang::FunctionDecl*, clang::FunctionProtoType const*, clang::Expr**, unsigned
int, clang::SourceLocation, bool) + 768
13 clang 0x00000000009939e1
clang::Sema::BuildResolvedCallExpr(clang::Expr*, clang::NamedDecl*,
clang::SourceLocation, clang::Expr**, unsigned int, clang::SourceLocation,
clang::Expr*, bool) + 1841
14 clang 0x0000000000988f60 clang::Sema::ActOnCallExpr(clang::Scope*,
clang::Expr*, clang::SourceLocation, llvm::MutableArrayRef,
clang::SourceLocation, clang::Expr*, bool) + 1200
15 clang 0x00000000008589e7
clang::Parser::ParsePostfixExpressionSuffix(clang::ActionResult) + 2791
16 clang 0x000000000085bdbb clang::Parser::ParseCastExpression(bool,
bool, bool&, clang::Parser::TypeCastState) + 11835
17 clang 0x00000000008567c6
clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState) + 118
18 clang 0x0000000000856739
clang::Parser::ParseExpression(clang::Parser::TypeCastState) + 9
19 clang 0x000000000087d918 clang::Parser::ParseExprStatement() + 56
20 clang 0x000000000087d4d3
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&)
+ 2291
21 clang 0x000000000087cb7a
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector&, bool, clang::SourceLocation*) + 154
22 clang 0x00000000008831be
clang::Parser::ParseCompoundStatementBody(bool) + 1614
23 clang 0x0000000000884cbd
clang::Parser::ParseFunctionStatementBody(clang::Decl*,
clang::Parser::ParseScope&) + 157
24 clang 0x000000000083072a
clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&,
clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*) +
1914
25 clang 0x000000000083c57b
clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, unsigned int, bool,
clang::SourceLocation*, clang::Parser::ForRangeInit*) + 1403
26 clang 0x000000000082feba
clang::Parser::ParseDeclOrFunctionDefInternal(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec&, clang::AccessSpecifier) + 586
27 clang 0x000000000082fa65
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*, clang::AccessSpecifier) + 309
28 clang 0x000000000082ef3f
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) + 2191
29 clang 0x000000000082e62a
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr&) + 314
30 clang 0x000000000082ba46 clang::ParseAST(clang::Sema&, bool, bool)
+ 470
31 clang 0x000000000072a27d clang::CodeGenAction::ExecuteAction() +
77
32 clang 0x00000000005fcebb clang::FrontendAction::Execute() + 91
33 clang 0x00000000005e15ad
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 845
34 clang 0x00000000005cb821
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3505
35 clang 0x00000000005c2ded cc1_main(char const**, char const**, char
const*, void*) + 621
36 clang 0x00000000005c7cac main + 2988
37 libc.so.6 0x00007f294361a885 __libc_start_main + 245
38 clang 0x00000000005c2ab9
Stack dump:
0. Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free
-disable-llvm-verifier -main-file-name lamb.cpp -mrelocation-model static
-mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases
-munwind-tables -fuse-init-array -target-cpu x86-64 -target-linker-version
2.23.51.20121009 -momit-leaf-frame-pointer -resource-dir
/usr/local/bin/../lib/clang/3.2 -fmodule-cache-path /var/tmp/clang-module-cache
-I/var/intel/composer_xe_2013.1.117/mkl/include
-I/var/intel/composer_xe_2013.1.117/tbb/include -internal-isystem
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.0/include/g++-v4 -internal-isystem
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.0/include/g++-v4/x86_64-pc-linux-gnu
-internal-isystem
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.0/include/g++-v4/backward
-internal-isystem /usr/local/include -internal-isystem
/usr/local/bin/../lib/clang/3.2/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro
-fdebug-compilation-dir /var/tmp -ferror-limit 19 -fmessage-length 174
-mstackrealign -fobjc-runtime=gcc -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -fcolor-diagnostics -o /tmp/lamb-tzmWOZ.o -x c++
lamb.cpp
1. lamb.cpp:12:18: current parser token ')'
2. lamb.cpp:11:1: parsing function body 'main'
3. lamb.cpp:11:1: in compound statement ('{}')
clang: error: unable to execute command: Aborted
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2
Target: x86_64-unknown-linux-gnu
Thread model: posix
libc++ is fine:
markus at x4 tmp % clang++ -stdlib=libc++ -std=c++11 lamb.cpp
markus at x4 tmp %
(clang was build with --disable-assertions --enable-optimized)
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Tue Nov 6 13:05:02 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Tue, 06 Nov 2012 21:05:02 +0000
Subject: [LLVMbugs] [Bug 14092] hash_map fails to compile
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14092
vvavrychuk at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #2 from vvavrychuk at gmail.com 2012-11-06 15:05:02 CST ---
For some reason, now I can not reproduce this too. I suggest to close it.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Tue Nov 6 14:45:00 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Tue, 06 Nov 2012 22:45:00 +0000
Subject: [LLVMbugs] [Bug 11480] attribute((init_priority(N))) is not
codegen'ed properly
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=11480
Anton Korobeynikov changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #5 from Anton Korobeynikov 2012-11-06 16:45:00 CST ---
Fixed in r167496
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Tue Nov 6 15:57:06 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Tue, 06 Nov 2012 23:57:06 +0000
Subject: [LLVMbugs] [Bug 14272] clang crash due to nested static initializer
list in combination with auto type
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14272
Eli Friedman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |sharparrow1 at yahoo.com
Resolution| |FIXED
--- Comment #1 from Eli Friedman 2012-11-06 17:57:06 CST ---
r167506.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Tue Nov 6 16:13:00 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 07 Nov 2012 00:13:00 +0000
Subject: [LLVMbugs] [Bug 13552] Wrong end location for C++ "new"
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=13552
David Blaikie changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |dblaikie at gmail.com
Resolution| |FIXED
--- Comment #2 from David Blaikie 2012-11-06 18:13:00 CST ---
Fixed in r167507.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Tue Nov 6 16:37:32 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 07 Nov 2012 00:37:32 +0000
Subject: [LLVMbugs] [Bug 14259] "Should not see dependent types" in
ASTContext.cpp:1284 executed
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14259
Eli Friedman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Tue Nov 6 16:38:35 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 07 Nov 2012 00:38:35 +0000
Subject: [LLVMbugs] [Bug 14275] New: clang tests fail: unknown target triple
'unknown-apple-darwin8.11.0', expect 'powerpc'
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14275
Bug #: 14275
Summary: clang tests fail: unknown target triple
'unknown-apple-darwin8.11.0', expect 'powerpc'
Product: new-bugs
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: fang at csl.cornell.edu
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
In my latest run of check-clang on powerpc-darwin8 (r167261, patched), a vast
number of test failures report:
error: unknown target triple 'unknown-apple-darwin8.11.0', please use -triple
or -arch
http://www.csl.cornell.edu/~fang/sw/llvm/logs/clang-r167261-nopure-powerpc-darwin8-g++-4.0.1-debug-check.log
For example,
[fangism:src/LLVM-svn/gcc40-cmake-build] fang% bin/clang -emit-llvm -S -O0 -g
/Volumes/Isolde/sources/LLVM-svn/clang/test/CodeGen/2010-02-18-Dbg-VectorType.c
-o -
\-{ static std::string llvm::Triple::normalize(llvm::StringRef)
/-} static std::string llvm::Triple::normalize(llvm::StringRef)
\-{ llvm::Triple::Triple(const llvm::Twine&)
/-} llvm::Triple::Triple(const llvm::Twine&)
\-{ llvm::Triple::Triple(const llvm::Twine&)
/-} llvm::Triple::Triple(const llvm::Twine&)
\-{ static std::string llvm::Triple::normalize(llvm::StringRef)
/-} static std::string llvm::Triple::normalize(llvm::StringRef)
\-{ llvm::Triple::Triple(const llvm::Twine&)
/-} llvm::Triple::Triple(const llvm::Twine&)
\-{ llvm::Triple::Triple(const llvm::Twine&)
/-} llvm::Triple::Triple(const llvm::Twine&)
\-{ llvm::Triple::Triple(const llvm::Twine&)
/-} llvm::Triple::Triple(const llvm::Twine&)
\-{ llvm::Triple::Triple(const llvm::Twine&)
/-} llvm::Triple::Triple(const llvm::Twine&)
\-{ int cc1_main(const char**, const char**, const char*, void*)
| \-{ clang::CompilerInvocationBase::CompilerInvocationBase()
| /-} clang::CompilerInvocationBase::CompilerInvocationBase()
| \-{ clang::CompilerInstance::CompilerInstance()
| /-} clang::CompilerInstance::CompilerInstance()
| \-{ static std::string llvm::Triple::normalize(llvm::StringRef)
| /-} static std::string llvm::Triple::normalize(llvm::StringRef)
| \-{ bool clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
| | \-{ bool clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
| | | \-{ static clang::TargetInfo*
clang::TargetInfo::CreateTargetInfo(clang::DiagnosticsEngine&,
clang::TargetOptions&)
| | | | : Opts.Triple: unknown-apple-darwin8.11.0
| | | | \-{ llvm::Triple::Triple(const llvm::Twine&)
| | | | /-} llvm::Triple::Triple(const llvm::Twine&)
| | | | \-{ clang::TargetInfo* AllocateTarget(const std::string&)
| | | | | : arg: unknown-apple-darwin8.11.0
| | | | | \-{ llvm::Triple::Triple(const llvm::Twine&)
| | | | | /-} llvm::Triple::Triple(const llvm::Twine&)
| | | | | : default -> NULL
| | | | /-} clang::TargetInfo* AllocateTarget(const std::string&)
error: unknown target triple 'unknown-apple-darwin8.11.0', please use -triple
or
-arch
| | | /-} static clang::TargetInfo*
clang::TargetInfo::CreateTargetInfo(clang::DiagnosticsEngine&,
clang::TargetOptions&)
| | /-} bool clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
| /-} bool clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
/-} int cc1_main(const char**, const char**, const char*, void*)
I'm trying to track down where things went wrong.
Either in or before Triple::normalize()...
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Tue Nov 6 17:03:49 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 07 Nov 2012 01:03:49 +0000
Subject: [LLVMbugs] [Bug 14276] New: Example for running individual test
with llvm-lit uses BitCast.ll, which was removed in r133244
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14276
Bug #: 14276
Summary: Example for running individual test with llvm-lit uses
BitCast.ll, which was removed in r133244
Product: Documentation
Version: trunk
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: General docs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: flash at pobox.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
The example in http://llvm.org/docs/TestingGuide.html#quickregressiontests for
running an individual test is
% llvm-lit ~/llvm/test/Integer/BitCast.ll
but BitCast.ll was removed in r133244, with the comment that “…this isn't
pascal anymore.” I’d suggest substituting BitPacked.ll, which works. (I’d
also suggest replacing “~/llvm/…”, perhaps with just “llvm/…“, like a few lines
earlier.)
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Tue Nov 6 17:15:52 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 07 Nov 2012 01:15:52 +0000
Subject: [LLVMbugs] [Bug 11851] clang doesn't instantiate constexpr
functions where necessary during overload resolution
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=11851
Richard Smith changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #11 from Richard Smith 2012-11-06 19:15:52 CST ---
Fixed, or at least worked around, in r167514. The core working group hasn't
established a firm direction on how to behave here, but our behavior is now a
very close match for g++'s.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Tue Nov 6 21:45:16 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 07 Nov 2012 05:45:16 +0000
Subject: [LLVMbugs] [Bug 14277] New: asan crash
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14277
Bug #: 14277
Summary: asan crash
Product: compiler-rt
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: compiler-rt
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nicolasweber at gmx.de
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Nicos-MacBook-Pro:delta thakis$ cat repro.ii
void __asan_report_load1() { }
Nicos-MacBook-Pro:delta thakis$
~/src/chrome/src/third_party/llvm-build/Release+Asserts/bin/clang -x c
-fsanitize=address repro.ii
Assertion failed: (isa(Val) && "cast() argument of incompatible type!"),
function cast, file
/Volumes/MacintoshHD2/src/chrome-git/src/third_party/llvm/include/llvm/Support/Casting.h,
line 208.
0 clang 0x00000001016d4b45 PrintStackTrace(void*) + 37
1 clang 0x00000001016d4f54 SignalHandler(int) + 564
2 libsystem_c.dylib 0x00007fff9257c8ea _sigtramp + 26
3 libsystem_c.dylib 0x00007fff925ad7d6 szone_free_definite_size + 2013
4 clang 0x000000010004faf6 abort + 22
5 clang 0x000000010004fad1 __assert_rtn + 81
6 clang 0x0000000100c17bbd (anonymous
namespace)::AddressSanitizer::doInitialization(llvm::Module&) + 3197
7 clang 0x0000000101687978
llvm::FPPassManager::runOnModule(llvm::Module&) + 104
8 clang 0x0000000101687bb1
llvm::MPPassManager::runOnModule(llvm::Module&) + 305
9 clang 0x00000001016881a5
llvm::PassManagerImpl::run(llvm::Module&) + 437
10 clang 0x000000010168834d llvm::PassManager::run(llvm::Module&) +
13
11 clang 0x00000001001e018a
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 5178
12 clang 0x00000001002c3ca8
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 600
13 clang 0x0000000100300ed4 clang::ParseAST(clang::Sema&, bool,
bool) + 516
14 clang 0x00000001002c29ea clang::CodeGenAction::ExecuteAction() +
458
15 clang 0x00000001000b2938 clang::FrontendAction::Execute() + 104
16 clang 0x000000010009446d
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 941
17 clang 0x000000010005a61a
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3450
18 clang 0x0000000100052c48 cc1_main(char const**, char const**,
char const*, void*) + 840
19 clang 0x0000000100056e75 main + 3077
20 clang 0x00000001000528d4 start + 52
21 clang 0x000000000000002b start + 18446744069414246283
Stack dump:
0. Program arguments:
/Users/thakis/src/chrome/src/third_party/llvm-build/Release+Asserts/bin/clang
-cc1 -triple x86_64-apple-macosx10.8.0 -emit-obj -mrelax-all -disable-free
-main-file-name repro.ii -pic-level 2 -mdisable-fp-elim -masm-verbose
-munwind-tables -target-cpu core2 -target-linker-version 97.17 -resource-dir
/Users/thakis/src/chrome/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.2
-fmodule-cache-path
/var/folders/c5/8d7sdn1x2mg92mj0rndghhdr0000gn/T/clang-module-cache
-fdebug-compilation-dir /Users/thakis/src/delta -ferror-limit 19
-fmessage-length 187 -fsanitize=address -stack-protector 1 -mstackrealign
-fblocks -fobjc-runtime=macosx-10.8.0 -fobjc-dispatch-method=mixed
-fobjc-default-synthesize-properties -fdiagnostics-show-option
-fcolor-diagnostics -o
/var/folders/c5/8d7sdn1x2mg92mj0rndghhdr0000gn/T/repro-TkrI8n.o -x c repro.ii
1. parser at end of file
2. Per-module optimization passes
3. Running pass 'Function Pass Manager' on module 'repro.ii'.
clang: error: unable to execute command: Illegal instruction: 4
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2 (trunk 167488)
Target: x86_64-apple-darwin12.2.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg:
/var/folders/c5/8d7sdn1x2mg92mj0rndghhdr0000gn/T/repro-UOLOsL.c
clang: note: diagnostic msg:
/var/folders/c5/8d7sdn1x2mg92mj0rndghhdr0000gn/T/repro-UOLOsL.sh
clang: note: diagnostic msg:
********************
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Tue Nov 6 22:12:11 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 07 Nov 2012 06:12:11 +0000
Subject: [LLVMbugs] [Bug 14278] New: LLVM test failures:
AllocationTests/MappedMemoryTest.* [powerpc-darwin8]
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14278
Bug #: 14278
Summary: LLVM test failures: AllocationTests/MappedMemoryTest.*
[powerpc-darwin8]
Product: new-bugs
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: fang at csl.cornell.edu
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
After some patching, the only remaining failures on powerpc-darwin8 in LLVM's
tests are AllocationTests/MappedMemoryTest* (10).
http://www.csl.cornell.edu/~fang/sw/llvm/logs/llvm-r167261-powerpc-darwin8-g++-4.0.1-debug-check.log
FAIL: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.BasicWrite/1 (6512
of 6776)
******************** TEST 'LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.BasicWrite/1'
FAILED ********************
Note: Google Test filter = AllocationTests/MappedMemoryTest.BasicWrite/1
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from AllocationTests/MappedMemoryTest
[ RUN ] AllocationTests/MappedMemoryTest.BasicWrite/1
********************
FAIL: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.AllocAndRelease/3
(6513 of 6776)
******************** TEST 'LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.AllocAndRelease/3'
FAILED ********************
Note: Google Test filter = AllocationTests/MappedMemoryTest.AllocAndRelease/3
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from AllocationTests/MappedMemoryTest
[ RUN ] AllocationTests/MappedMemoryTest.AllocAndRelease/3
********************
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.BasicWrite/2 (6514
of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.BasicWrite/3 (6515
of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.BasicWrite/4 (6516
of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.BasicWrite/5 (6517
of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.DuplicateNear/0
(6518 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.DuplicateNear/1
(6519 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.DuplicateNear/2
(6520 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.DuplicateNear/4
(6521 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.DuplicateNear/5
(6522 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.EnabledWrite/0
(6523 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.EnabledWrite/1
(6524 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.EnabledWrite/2
(6525 of 6776)
FAIL: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.DuplicateNear/3
(6526 of 6776)
******************** TEST 'LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.DuplicateNear/3'
FAILED ********************
Note: Google Test filter = AllocationTests/MappedMemoryTest.DuplicateNear/3
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from AllocationTests/MappedMemoryTest
[ RUN ] AllocationTests/MappedMemoryTest.DuplicateNear/3
********************
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.EnabledWrite/4
(6527 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.EnabledWrite/5
(6528 of 6776)
FAIL: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.EnabledWrite/3
(6529 of 6776)
******************** TEST 'LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.EnabledWrite/3'
FAILED ********************
Note: Google Test filter = AllocationTests/MappedMemoryTest.EnabledWrite/3
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from AllocationTests/MappedMemoryTest
[ RUN ] AllocationTests/MappedMemoryTest.EnabledWrite/3
********************
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.MultipleAllocAndRelease/0
(6530 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.MultipleAllocAndRelease/1
(6531 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.MultipleAllocAndRelease/2
(6532 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.MultipleAllocAndRelease/4
(6533 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.MultipleAllocAndRelease/5
(6534 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.MultipleWrite/0
(6535 of 6776)
FAIL: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.MultipleAllocAndRelease/3
(6536 of 6776)
******************** TEST 'LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.MultipleAllocAndRelease/3'
FAILED ********************
Note: Google Test filter =
AllocationTests/MappedMemoryTest.MultipleAllocAndRelease/3
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from AllocationTests/MappedMemoryTest
[ RUN ] AllocationTests/MappedMemoryTest.MultipleAllocAndRelease/3
********************
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.MultipleWrite/2
(6537 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.MultipleWrite/3
(6538 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.MultipleWrite/4
(6539 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.MultipleWrite/5
(6540 of 6776)
FAIL: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.MultipleWrite/1
(6541 of 6776)
******************** TEST 'LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.MultipleWrite/1'
FAILED ********************
Note: Google Test filter = AllocationTests/MappedMemoryTest.MultipleWrite/1
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from AllocationTests/MappedMemoryTest
[ RUN ] AllocationTests/MappedMemoryTest.MultipleWrite/1
********************
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.SuccessiveNear/0
(6542 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.SuccessiveNear/1
(6543 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.SuccessiveNear/2
(6544 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.SuccessiveNear/4
(6545 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.SuccessiveNear/5
(6546 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.UnalignedNear/0
(6547 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.UnalignedNear/1
(6548 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.UnalignedNear/2
(6549 of 6776)
FAIL: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.SuccessiveNear/3
(6550 of 6776)
******************** TEST 'LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.SuccessiveNear/3'
FAILED ********************
Note: Google Test filter = AllocationTests/MappedMemoryTest.SuccessiveNear/3
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from AllocationTests/MappedMemoryTest
[ RUN ] AllocationTests/MappedMemoryTest.SuccessiveNear/3
********************
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.UnalignedNear/4
(6551 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.UnalignedNear/5
(6552 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.ZeroNear/0 (6553 of
6776)
FAIL: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.UnalignedNear/3
(6554 of 6776)
******************** TEST 'LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.UnalignedNear/3'
FAILED ********************
Note: Google Test filter = AllocationTests/MappedMemoryTest.UnalignedNear/3
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from AllocationTests/MappedMemoryTest
[ RUN ] AllocationTests/MappedMemoryTest.UnalignedNear/3
********************
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.ZeroNear/1 (6555 of
6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.ZeroNear/2 (6556 of
6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.ZeroNear/4 (6557 of
6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.ZeroNear/5 (6558 of
6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.ZeroSizeNear/0
(6559 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.ZeroSizeNear/1
(6560 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.ZeroSizeNear/2
(6561 of 6776)
FAIL: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.ZeroNear/3 (6562 of
6776)
******************** TEST 'LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.ZeroNear/3' FAILED
********************
Note: Google Test filter = AllocationTests/MappedMemoryTest.ZeroNear/3
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from AllocationTests/MappedMemoryTest
[ RUN ] AllocationTests/MappedMemoryTest.ZeroNear/3
********************
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.ZeroSizeNear/4
(6563 of 6776)
PASS: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.ZeroSizeNear/5
(6564 of 6776)
PASS: LLVM-Unit :: Support/Debug/SupportTests/AllocatorTest.Basics (6565 of
6776)
PASS: LLVM-Unit :: Support/Debug/SupportTests/AllocatorTest.TestAlignment (6566
of 6776)
FAIL: LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.ZeroSizeNear/3
(6567 of 6776)
******************** TEST 'LLVM-Unit ::
Support/Debug/SupportTests/AllocationTests/MappedMemoryTest.ZeroSizeNear/3'
FAILED ********************
Note: Google Test filter = AllocationTests/MappedMemoryTest.ZeroSizeNear/3
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from AllocationTests/MappedMemoryTest
[ RUN ] AllocationTests/MappedMemoryTest.ZeroSizeNear/3
********************
Suggestions for where I should begin to look?
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Tue Nov 6 22:40:01 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 07 Nov 2012 06:40:01 +0000
Subject: [LLVMbugs] [Bug 14279] New: mishandling of implicit move in class
with copy-only member
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14279
Bug #: 14279
Summary: mishandling of implicit move in class with copy-only
member
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: release blocker
Priority: P
Component: C++11
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: richard-llvm at metafoo.co.uk
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Consider this:
struct list {
list() { p = this; }
list(const list&) { p = this; }
list *p;
};
struct val {
val() : b() {}
val(const val&) = default;
val(val&&) = default;
list b;
};
bool f(val &&v) {
val w(static_cast(v));
return w.b.p == &w.b;
}
int main() {
return f(val());
}
This program should return 1, since 'list' enforces that 'p == this'. Built
with Clang, it returns 0, because we implement val's move constructor with
memcpy, presumably because we incorrectly think that it's trivial.
This breaks self-host in C++11 mode using libstdc++-4.7.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Wed Nov 7 02:18:37 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 07 Nov 2012 10:18:37 +0000
Subject: [LLVMbugs] [Bug 14198] dlopen(/sw/lib/gcc4.7/lib/dragonegg.so,
10): Symbol not found: __ZTIN4llvm2cl18GenericOptionValueE
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14198
Duncan Sands changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #16 from Duncan Sands 2012-11-07 04:18:37 CST ---
Fixed here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20121105/155317.html
This is a workaround for PR14200.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Wed Nov 7 04:43:53 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 07 Nov 2012 12:43:53 +0000
Subject: [LLVMbugs] [Bug 14277] asan crash
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14277
Kostya Serebryany changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |kcc at google.com
Resolution| |FIXED
--- Comment #1 from Kostya Serebryany 2012-11-07 06:43:53 CST ---
We should not be asserting on this example, but instead we should report a
fatal error.
Fixed in 167529 (not sure how to best write a regression test, any ideas?)
Nico, just curious, where did you get this reproducer?
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Wed Nov 7 08:58:02 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 07 Nov 2012 16:58:02 +0000
Subject: [LLVMbugs] [Bug 14276] Example for running individual test with
llvm-lit uses BitCast.ll, which was removed in r133244
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14276
Pawel Wodnicki changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Wed Nov 7 09:06:18 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 07 Nov 2012 17:06:18 +0000
Subject: [LLVMbugs] [Bug 14280] New: warning correct does not handle -Wno
options correctly
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14280
Bug #: 14280
Summary: warning correct does not handle -Wno options correctly
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: chris at bubblescope.net
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9504
--> http://llvm.org/bugs/attachment.cgi?id=9504
Example patch fixing '-Wno' handling
clang does a bad job of giving recommendations on misformed '-Wno' options.
Basically if an option doesn't start with '-Wno-', it can never match a '-Wno-'
option.
Consider:
$ clang++ -Wbrc
clang: warning: unknown warning option '-Wbrc'; did you mean '-Warc'?
$ clang++ -Wno-brc
clang: warning: unknown warning option '-Wno-brc'; did you mean '-Wno-arc'?
$ clang++ -Wnobrc
clang: warning: unknown warning option '-Wnobrc'; did you mean '-Warc'?
$ clang++ -Wnoarc
clang: warning: unknown warning option '-Wnoarc'; did you mean '-Warc'?
I attach a patch which takes an attempt at fixing this problem. However, I
realised that I'm not really 100% sure about quite a few parts of the clang
coding standard, so I suspect this isn't acceptably finished. In particular I'm
worried I'm breaking the internationalisation. In Warnings.cpp, the two terms
diag::warn_unknown_warning_option_suggest and
diag::warn_unknown_negative_warning_option_suggest look identical to me, so I
was tempted to remove one. But, I assume there is a reason for two of them?
However, this patch does give:
$ clang++ -Wnobrc
clang: warning: unknown warning option '-Wnobrc'; did you mean '-Wno-arc'?
$ clang++ -Won-arc
clang: warning: unknown warning option '-Won-arc'; did you mean '-Wno-arc'?
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Wed Nov 7 09:49:26 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 07 Nov 2012 17:49:26 +0000
Subject: [LLVMbugs] [Bug 14281] New: boost::units::conversion_factor reaches
UNREACHABLE "Impossible TemplateArgument"
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14281
Bug #: 14281
Summary: boost::units::conversion_factor reaches UNREACHABLE
"Impossible TemplateArgument"
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: llvm+bugs at trds.de
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Triggering the bug:
#include
#include
#include
#include
int main(int argc, char **argv) {
using namespace boost::units;
std::cout << boost::units::conversion_factor(gradian::gradians,si::radians)
<< std::endl;
return 0;
}
The template stuff in Boost.Units is too heavy for me, I have no idea what the
problem could be. Message from clang was:
Impossible TemplateArgument
UNREACHABLE executed at
/home/ds/devel/llvm/tools/clang/lib/AST/TypeLoc.cpp:325!
0 clang-3.2 0x000000000131a41f
1 clang-3.2 0x000000000131a949
2 libpthread.so.0 0x00002b0802c33cb0
3 libc.so.6 0x00002b080368e425 gsignal + 53
4 libc.so.6 0x00002b0803691b8b abort + 379
5 clang-3.2 0x00000000012e44bc
6 clang-3.2 0x0000000002063878
clang::TemplateSpecializationTypeLoc::initializeArgLocs(clang::ASTContext&,
unsigned int, clang::TemplateArgument const*, clang::TemplateArgumentLocInfo*,
clang::SourceLocation) + 200
7 clang-3.2 0x0000000002063f2b
clang::TypeLoc::initializeImpl(clang::ASTContext&, clang::TypeLoc,
clang::SourceLocation) + 731
8 clang-3.2 0x0000000001f08abe
clang::ASTContext::getTrivialTypeSourceInfo(clang::QualType,
clang::SourceLocation) const + 62
9 clang-3.2 0x0000000001abf820
10 clang-3.2 0x0000000001ac26d9
11 clang-3.2 0x0000000001ac9442
clang::Sema::getMoreSpecializedPartialSpecialization(clang::ClassTemplatePartialSpecializationDecl*,
clang::ClassTemplatePartialSpecializationDecl*, clang::SourceLocation) + 866
12 clang-3.2 0x0000000001afdf90
clang::Sema::InstantiateClassTemplateSpecialization(clang::SourceLocation,
clang::ClassTemplateSpecializationDecl*, clang::TemplateSpecializationKind,
bool) + 1088
13 clang-3.2 0x0000000001b4d65b
clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType,
clang::Sema::TypeDiagnoser&) + 1307
14 clang-3.2 0x000000000184cf61
clang::Sema::RequireCompleteDeclContext(clang::CXXScopeSpec&,
clang::DeclContext*) + 353
15 clang-3.2 0x0000000001a84039
clang::Sema::CheckTypenameType(clang::ElaboratedTypeKeyword,
clang::SourceLocation, clang::NestedNameSpecifierLoc, clang::IdentifierInfo
const&, clang::SourceLocation) + 217
16 clang-3.2 0x0000000001b03d69
17 clang-3.2 0x0000000001af8f18
18 clang-3.2 0x0000000001af87a6
19 clang-3.2 0x0000000001af9f60
clang::Sema::SubstFunctionDeclType(clang::TypeSourceInfo*,
clang::MultiLevelTemplateArgumentList const&, clang::SourceLocation,
clang::DeclarationName, clang::CXXRecordDecl*, unsigned int) + 1440
20 clang-3.2 0x0000000001b21828
clang::TemplateDeclInstantiator::SubstFunctionType(clang::FunctionDecl*,
llvm::SmallVectorImpl&) + 248
21 clang-3.2 0x0000000001b2770d
clang::TemplateDeclInstantiator::VisitFunctionDecl(clang::FunctionDecl*,
clang::TemplateParameterList*) + 317
22 clang-3.2 0x0000000001b26a37 clang::Sema::SubstDecl(clang::Decl*,
clang::DeclContext*, clang::MultiLevelTemplateArgumentList const&) + 119
23 clang-3.2 0x0000000001ae8788
clang::Sema::FinishTemplateArgumentDeduction(clang::FunctionTemplateDecl*,
llvm::SmallVectorImpl&, unsigned int,
clang::FunctionDecl*&, clang::sema::TemplateDeductionInfo&,
llvm::SmallVectorImpl const*) + 2328
24 clang-3.2 0x0000000001aeb0b6
clang::Sema::DeduceTemplateArguments(clang::FunctionTemplateDecl*,
clang::TemplateArgumentListInfo*, llvm::ArrayRef,
clang::FunctionDecl*&, clang::sema::TemplateDeductionInfo&) + 1046
25 clang-3.2 0x0000000001a3e352
clang::Sema::AddTemplateOverloadCandidate(clang::FunctionTemplateDecl*,
clang::DeclAccessPair, clang::TemplateArgumentListInfo*,
llvm::ArrayRef, clang::OverloadCandidateSet&, bool) + 386
26 clang-3.2 0x0000000001a3ffbd
clang::Sema::AddOverloadedCallCandidates(clang::UnresolvedLookupExpr*,
llvm::ArrayRef, clang::OverloadCandidateSet&, bool) + 445
27 clang-3.2 0x0000000001a40236
clang::Sema::buildOverloadedCallSet(clang::Scope*, clang::Expr*,
clang::UnresolvedLookupExpr*, clang::Expr**, unsigned int,
clang::SourceLocation, clang::OverloadCandidateSet*,
clang::ActionResult*) + 310
28 clang-3.2 0x0000000001a40b88
clang::Sema::BuildOverloadedCallExpr(clang::Scope*, clang::Expr*,
clang::UnresolvedLookupExpr*, clang::SourceLocation, clang::Expr**, unsigned
int, clang::SourceLocation, clang::Expr*, bool) + 456
29 clang-3.2 0x0000000001990347 clang::Sema::ActOnCallExpr(clang::Scope*,
clang::Expr*, clang::SourceLocation, llvm::MutableArrayRef,
clang::SourceLocation, clang::Expr*, bool) + 1383
30 clang-3.2 0x0000000001b1103f
31 clang-3.2 0x0000000001b110b6
32 clang-3.2 0x0000000001b0735a
33 clang-3.2 0x0000000001b11453
34 clang-3.2 0x0000000001b07a3b
35 clang-3.2 0x0000000001b1638d
36 clang-3.2 0x0000000001b077ab
37 clang-3.2 0x0000000001b17517
38 clang-3.2 0x0000000001b18bf1
39 clang-3.2 0x0000000001b176bd
40 clang-3.2 0x0000000001b19e7f clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&) + 79
41 clang-3.2 0x0000000001b2ef63
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) + 803
42 clang-3.2 0x0000000001b2e921
clang::Sema::PerformPendingInstantiations(bool) + 657
43 clang-3.2 0x0000000001b2eff2
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) + 946
44 clang-3.2 0x0000000001b2e921
clang::Sema::PerformPendingInstantiations(bool) + 657
45 clang-3.2 0x0000000001b2eff2
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) + 946
46 clang-3.2 0x0000000001b2e921
clang::Sema::PerformPendingInstantiations(bool) + 657
47 clang-3.2 0x000000000183bdf2 clang::Sema::ActOnEndOfTranslationUnit()
+ 466
48 clang-3.2 0x000000000160c4e6
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr&) + 374
49 clang-3.2 0x0000000001603edd clang::ParseAST(clang::Sema&, bool, bool)
+ 509
50 clang-3.2 0x000000000153dd51 clang::FrontendAction::Execute() + 145
51 clang-3.2 0x0000000001521ed4
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 340
52 clang-3.2 0x000000000131d7b6
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1462
53 clang-3.2 0x0000000000617730 cc1_main(char const**, char const**, char
const*, void*) + 1248
54 clang-3.2 0x0000000000615dc3 main + 787
55 libc.so.6 0x00002b080367976d __libc_start_main + 237
56 clang-3.2 0x0000000000612ae9
Stack dump:
0. Program arguments: /usr/local/bin/clang-3.2 -cc1 -triple
x86_64-unknown-linux-gnu -emit-obj -disable-free -main-file-name test_clang.cpp
-mrelocation-model static -fmath-errno -masm-verbose -mconstructor-aliases
-munwind-tables -fuse-init-array -target-cpu x86-64 -momit-leaf-frame-pointer
-ffunction-sections -fdata-sections -coverage-file
/home/ds/src/lpr/build-charon-clang/CMakeFiles/test_clang.dir/test/test_clang.cpp.o
-resource-dir /usr/local/bin/../lib/clang/3.2 -isystem
/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -isystem
/usr/include/wx-2.8 -isystem /home/ds/src/lpr/modules/be7a/include -isystem
/home/ds/src/lpr/modules/lmfit/lib -isystem
/home/ds/src/lpr/modules/jsoncpp/include -D _FILE_OFFSET_BITS=64 -D
_LARGE_FILES -D __WXGTK__ -D BOOST_FILESYSTEM_VERSION=3 -D BUILD_TYPE_RELEASE
-D NDEBUG -I /usr/local/include -I /home/ds/src/lpr/libs/peak-linux-driver/lib
-I /home/ds/src/lpr/libs/peak-linux-driver/driver -I
/home/ds/src/lpr/libs/gtest/include -I /home/ds/src/lpr/abstract -I
/home/ds/src/lpr/data -I /home/ds/src/lpr/math -I /home/ds/src/lpr/tools -I
/home/ds/src/lpr/hal -I /home/ds/src/lpr/ppm-transform -I
/home/ds/src/lpr/sensors -I /home/ds/src/lpr/gui -I /home/ds/src/lpr/test
-fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7 -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/x86_64-linux-gnu
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/backward
-internal-isystem /usr/local/include -internal-isystem
/usr/local/bin/../lib/clang/3.2/include -internal-externc-isystem
/usr/include/x86_64-linux-gnu -internal-externc-isystem /include
-internal-externc-isystem /usr/include -O3 -Wall -Werror -Wextra
-Wno-unused-parameter -Wpointer-arith -Wwrite-strings -Wno-gnu
-Wno-c99-extensions -Wno-extra-semi -Wno-variadic-macros -Wno-c++11-extensions
-Wunreachable-code -Wno-error=unreachable-code -Winit-self -Wcast-qual
-pedantic -fconst-strings -fdeprecated-macro -fdebug-compilation-dir
/home/ds/src/lpr/build-charon-clang -ferror-limit 19 -fmessage-length 177
-pthread -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -fcolor-diagnostics -o
CMakeFiles/test_clang.dir/test/test_clang.cpp.o -x c++
/home/ds/src/lpr/test/test_clang.cpp
1. parser at end of file
2. /usr/local/include/boost/units/conversion.hpp:176:1: instantiating
function definition 'conversion_factor'
3. /usr/local/include/boost/units/detail/conversion_impl.hpp:446:17:
instantiating function definition 'value'
4. /usr/local/include/boost/units/detail/conversion_impl.hpp:317:21:
instantiating function definition 'value'
clang-3: error: unable to execute command: Aborted (core dumped)
clang-3: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2 (trunk 167528)
Target: x86_64-unknown-linux-gnu
Thread model: posix
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Wed Nov 7 10:04:16 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 07 Nov 2012 18:04:16 +0000
Subject: [LLVMbugs] [Bug 14282] New: crash when reading a gch file produced
by an older clang
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14282
Bug #: 14282
Summary: crash when reading a gch file produced by an older
clang
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: nicolasweber at gmx.de
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
I accidentally didn't delete a gch file when switching my chromium checkout
from clang r 165787 to r167488.
When building a file that used a gch file `-include-pch
obj/third_party/WebKit/Source/WebCore/webcore_platform.WebCorePrefix.h-mm.gch`,
I got this crash:
Assertion failed: (begin() + idx < end()), function operator[], file
/Volumes/MacintoshHD2/src/chrome-git/src/third_party/llvm/include/llvm/ADT/SmallVector.h,
line 139.
0 clang 0x00000001016d4b45 PrintStackTrace(void*) + 37
1 clang 0x00000001016d4f54 SignalHandler(int) + 564
2 libsystem_c.dylib 0x00007fff9257c8ea _sigtramp + 26
3 libsystem_c.dylib 0x00007fff5fbf7f60 _sigtramp + 18446744072860710544
4 clang 0x000000010004faf6 abort + 22
5 clang 0x000000010004fad1 __assert_rtn + 81
6 clang 0x0000000100143bad
clang::ASTReader::ReadASTBlock(clang::serialization::ModuleFile&) + 18733
7 clang 0x00000001001458af clang::ASTReader::ReadAST(std::string
const&, clang::serialization::ModuleKind, unsigned int) + 191
8 clang 0x000000010009227f
clang::CompilerInstance::createPCHExternalASTSource(llvm::StringRef,
std::string const&, bool, bool, clang::Preprocessor&, clang::ASTContext&,
void*, bool) + 223
9 clang 0x00000001000920f4
clang::CompilerInstance::createPCHExternalASTSource(llvm::StringRef, bool,
bool, void*) + 148
10 clang 0x00000001000b26d7
clang::FrontendAction::BeginSourceFile(clang::CompilerInstance&,
clang::FrontendInputFile const&) + 3767
11 clang 0x0000000100094461
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 929
12 clang 0x000000010005a61a
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3450
13 clang 0x0000000100052c48 cc1_main(char const**, char const**,
char const*, void*) + 840
14 clang 0x0000000100056e75 main + 3077
15 clang 0x00000001000528d4 start + 52
16 clang 0x00000000000002f1 start + 18446744069414246993
I thought gch files should have a version header to just error out in this
case?
(Sorry, no reduced repro)
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Wed Nov 7 11:08:28 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 07 Nov 2012 19:08:28 +0000
Subject: [LLVMbugs] [Bug 12713] Unbalanced decltype crashes the frontend
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=12713
David Blaikie changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #2 from David Blaikie 2012-11-07 13:08:28 CST ---
Fixed in r167547
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Wed Nov 7 13:11:05 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 07 Nov 2012 21:11:05 +0000
Subject: [LLVMbugs] [Bug 14283] New: assertion fail:
VMCore/Instructions.cpp:1080 "Ptr must be a pointer to Val type!"
[powerpc-darwin8]
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14283
Bug #: 14283
Summary: assertion fail: VMCore/Instructions.cpp:1080 "Ptr must
be a pointer to Val type!" [powerpc-darwin8]
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: fang at csl.cornell.edu
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Among the remaining powerpc-darwin8 test failures, I see several with this
assertion failure.
******************** TEST 'Clang :: CodeGen/2004-06-17-UnorderedBuiltins.c'
FAILED ********************
Script:
--
gtimeout 5m /Users/fang/local/src/LLVM-svn/gcc40-cmake-build/bin/./clang -cc1
-internal-isystem
/Volumes/Isolde/builds/LLVM/gcc40-cmake-build/bin/../lib/clang/3.2/include
-emit-llvm
/Volumes/Isolde/sources/LLVM-svn/clang/test/CodeGen/2004-06-17-UnorderedBuiltins.c
-o /dev/null
--
Exit Code: 134
Command Output (stderr):
--
/Users/fang/local/src/LLVM-svn/llvm/lib/VMCore/Instructions.cpp:1080: failed
assertion `getOperand(0)->getType() ==
cast(getOperand(1)->getType())->getElementType() && "Ptr must be a
pointer to Val type!"'
Stack dump:
0. Program arguments:
/Users/fang/local/src/LLVM-svn/gcc40-cmake-build/bin/./clang -cc1
-internal-isystem
/Volumes/Isolde/builds/LLVM/gcc40-cmake-build/bin/../lib/clang/3.2/include
-emit-llvm
/Volumes/Isolde/sources/LLVM-svn/clang/test/CodeGen/2004-06-17-UnorderedBuiltins.c
-o /dev/null
1.
/Volumes/Isolde/sources/LLVM-svn/clang/test/CodeGen/2004-06-17-UnorderedBuiltins.c:15:1:
current parser token 'void'
2.
/Volumes/Isolde/sources/LLVM-svn/clang/test/CodeGen/2004-06-17-UnorderedBuiltins.c:5:6:
LLVM IR generation of declaration 'TestF'
3.
/Volumes/Isolde/sources/LLVM-svn/clang/test/CodeGen/2004-06-17-UnorderedBuiltins.c:5:6:
Generating code for declaration 'TestF'
4.
/Volumes/Isolde/sources/LLVM-svn/clang/test/CodeGen/2004-06-17-UnorderedBuiltins.c:5:30:
LLVM IR generation of compound statement ('{}')
--
********************
Anyone have a hunch on what might have gone wrong?
complete test log:
http://www.csl.cornell.edu/~fang/sw/llvm/logs/clang-r167261.1-powerpc-darwin8-g++-4.0.1-debug-check.log
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Wed Nov 7 13:30:09 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 07 Nov 2012 21:30:09 +0000
Subject: [LLVMbugs] [Bug 14284] New: Returning NULL from void-returning
function crashes fixit in getScalarZeroExpressionForType()
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14284
Bug #: 14284
Summary: Returning NULL from void-returning function crashes
fixit in getScalarZeroExpressionForType()
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: avi at drissman.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
clang version 3.2 (trunk 167488)
Target: i386-apple-darwin12.2.0
Thread model: posix
I altered a base class function TabStripModelDelegate::AddBlankTabAt to return
void, and altered the overriding class's function declaration to return void.
In the definition I forgot to remove the "return null". Clang crashed.
I'm attaching the pre-processed source and run script as instructed.
---8<---
box-o-bits:src$ ninja -C out/Debug all
ninja: Entering directory `out/Debug'
[152/17/116] CXX obj/chrome/browser/ui..._tests.test_tab_strip_model_delegate.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF
obj/chrome/browser/ui/tabs/unit_tests.test_tab_strip_model_delegate.o.d
-DCHROMIUM_BUILD -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN
-DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_CONFIGURATION_POLICY
-DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_GPU=1
-DENABLE_EGLIMAGE=1 -DUSE_SKIA=1 -DENABLE_TASK_MANAGER=1 -DENABLE_WEB_INTENTS=1
-DENABLE_EXTENSIONS=1 -DENABLE_PLUGIN_INSTALLATION=1
-DENABLE_PROTECTOR_SERVICE=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1
-DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 -DENABLE_LANGUAGE_DETECTION=1
-DENABLE_PRINTING=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DCLD_WINDOWS
-DENABLE_SAFE_BROWSING -DUSE_OFFICIAL_GOOGLE_API_KEYS=1
-DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
-DNACL_WINDOWS=0 -DNACL_LINUX=0 -DNACL_OSX=1 -DNACL_TARGET_SUBARCH=32
-DNACL_TARGET_ARCH=x86 -DNACL_BUILD_SUBARCH=32 -DNACL_BUILD_ARCH=x86
-DUNIT_TEST -DGTEST_HAS_RTTI=0 -DSK_BUILD_NO_IMAGE_ENCODE
-DSK_DEFERRED_CANVAS_USES_GPIPE=1
'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"'
-DGR_AGGRESSIVE_SHADER_OPTS=1 -DSK_USE_POSIX_THREADS -DCOMPILER_GCC
-DU_USING_ICU_NAMESPACE=0 -DU_STATIC_IMPLEMENTATION -DFEATURE_ENABLE_SSL
-DFEATURE_ENABLE_VOICEMAIL -DEXPAT_RELATIVE_PATH -DGTEST_RELATIVE_PATH
-DJSONCPP_RELATIVE_PATH -DNO_MAIN_THREAD_WRAPPING -DNO_SOUND_SYSTEM -DOSX
-DPOSIX -DXML_STATIC -DLIBXML_STATIC -D__STDC_FORMAT_MACROS
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -D_DEBUG
-I../../third_party/icu/public/common -I../../third_party/icu/public/i18n
-I../.. -I../../third_party/GTM -I../../third_party/GTM/AppKit
-I../../third_party/khronos -Igen/protoc_out -I../../third_party/protobuf
-I../../third_party/protobuf/src -I../../testing/gmock/include
-I../../testing/gtest/include -Igen/policy
-I../../third_party/cacheinvalidation/google/cacheinvalidation
-I../../skia/config -I../../third_party/skia/src/core
-I../../third_party/skia/include/config -I../../third_party/skia/include/core
-I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf
-I../../third_party/skia/include/gpu -I../../third_party/skia/include/gpu/gl
-I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports
-I../../third_party/skia/include/utils -I../../skia/ext
-I../../third_party/skia/include/utils/mac -I../../third_party/bzip2
-I../../third_party/cacheinvalidation/overrides
-I../../third_party/cacheinvalidation/src -I../../third_party/cld
-I../../third_party/leveldatabase/src/include
-I../../third_party/leveldatabase/src -I../../third_party/libjingle/overrides
-I../../third_party/libjingle/source -I../../third_party
-I../../third_party/webrtc -I../../third_party/expat/files/lib
-I../../third_party/jsoncpp/overrides/include
-I../../third_party/jsoncpp/source/include
-I../../third_party/libxml/mac/include -I../../third_party/libxml/src/include
-Igen -I../../third_party/mesa/MesaLib/include -Igen/ui/gl
-Igen/ui/ui_resources -I../../v8/include -Igen/chrome
-I../../third_party/ocmock -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
-O0 -gdwarf-2 -fvisibility=hidden -Werror -Wnewline-eof
-mmacosx-version-min=10.6 -arch i386 -Wall -Wendif-labels -Wextra
-Wno-unused-parameter -Wno-missing-field-initializers -Wheader-hygiene
-Wno-char-subscripts -Wno-unused-function -Wno-unnamed-type-template-args
-Wno-c++11-extensions -Wno-covered-switch-default -fno-rtti -fno-exceptions
-fvisibility-inlines-hidden -fno-threadsafe-statics -Xclang -load -Xclang
/Users/avi/Source/chrome-git/src/tools/clang/scripts/../../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.dylib
-Xclang -add-plugin -Xclang find-bad-constructs -Xclang
-plugin-arg-find-bad-constructs -Xclang skip-virtuals-in-implementations
-fcolor-diagnostics -fno-strict-aliasing -fstack-protector-all -c
../../chrome/browser/ui/tabs/test_tab_strip_model_delegate.cc -o
obj/chrome/browser/ui/tabs/unit_tests.test_tab_strip_model_delegate.o
../../chrome/browser/ui/tabs/test_tab_strip_model_delegate.cc:21:3: error: void
function 'AddBlankTabAt' should not return a value [-Wreturn-type]
return NULL;
^ ~~~~
Assertion failed: (T.isScalarType() && "use scalar types only"), function
getScalarZeroExpressionForType, file
/Volumes/MacintoshHD2/src/chrome-git/src/third_party/llvm/tools/clang/lib/Sema/SemaFixItUtils.cpp,
line 168.
0 clang 0x00000001016d4b45 PrintStackTrace(void*) + 37
1 clang 0x00000001016d4f54 SignalHandler(int) + 564
2 libsystem_c.dylib 0x00007fff871778ea _sigtramp + 26
3 clang 0x0000000101d62728 llvm::errs()::S + 0
4 clang 0x000000010004faf6 abort + 22
5 clang 0x000000010004fad1 __assert_rtn + 81
6 clang 0x0000000100533ef5
getScalarZeroExpressionForType(clang::Type const&, clang::Sema const&) + 597
7 clang 0x00000001005340c4
clang::Sema::getFixItZeroLiteralForType(clang::QualType) const + 36
8 clang 0x00000001003d1445 (anonymous
namespace)::CheckImplicitConversion(clang::Sema&, clang::Expr*,
clang::QualType, clang::SourceLocation, bool*) + 2309
9 clang 0x00000001003cc24f (anonymous
namespace)::AnalyzeImplicitConversions(clang::Sema&, clang::Expr*,
clang::SourceLocation) + 703
10 clang 0x00000001005a9f8c
clang::Sema::ActOnReturnStmt(clang::SourceLocation, clang::Expr*) + 1884
11 clang 0x000000010035ca59 clang::Parser::ParseReturnStatement() +
505
12 clang 0x0000000100357ea6
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&)
+ 2838
13 clang 0x00000001003572fa
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector&, bool, clang::SourceLocation*) + 154
14 clang 0x000000010035e7ac
clang::Parser::ParseCompoundStatementBody(bool) + 1628
15 clang 0x000000010036055b
clang::Parser::ParseFunctionStatementBody(clang::Decl*,
clang::Parser::ParseScope&) + 171
16 clang 0x000000010036ff20
clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&,
clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*) +
2064
17 clang 0x000000010030e0bc
clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, unsigned int, bool,
clang::SourceLocation*, clang::Parser::ForRangeInit*) + 1388
18 clang 0x000000010036f5b6
clang::Parser::ParseDeclOrFunctionDefInternal(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec&, clang::AccessSpecifier) + 678
19 clang 0x000000010036f011
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*, clang::AccessSpecifier) + 353
20 clang 0x000000010036e553
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) + 2835
21 clang 0x000000010036d9c4
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr&) + 308
22 clang 0x0000000100300e86 clang::ParseAST(clang::Sema&, bool,
bool) + 438
23 clang 0x00000001002c29ea clang::CodeGenAction::ExecuteAction() +
458
24 clang 0x00000001000b2938 clang::FrontendAction::Execute() + 104
25 clang 0x000000010009446d
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 941
26 clang 0x000000010005a61a
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3450
27 clang 0x0000000100052c48 cc1_main(char const**, char const**,
char const*, void*) + 840
28 clang 0x0000000100056e75 main + 3077
29 clang 0x00000001000528d4 start + 52
Stack dump:
0. Program arguments:
/Users/avi/Source/chrome-git/src/third_party/llvm-build/Release+Asserts/bin/clang
-cc1 -triple i386-apple-macosx10.6.0 -emit-obj -mrelax-all -disable-free
-main-file-name test_tab_strip_model_delegate.cc -pic-level 2 -mdisable-fp-elim
-relaxed-aliasing -masm-verbose -target-cpu yonah -target-linker-version 97.17
-g -coverage-file
/Users/avi/Source/chrome-git/src/out/Debug/obj/chrome/browser/ui/tabs/unit_tests.test_tab_strip_model_delegate.o
-resource-dir
/Users/avi/Source/chrome-git/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.2
-dependency-file
obj/chrome/browser/ui/tabs/unit_tests.test_tab_strip_model_delegate.o.d -MT
obj/chrome/browser/ui/tabs/unit_tests.test_tab_strip_model_delegate.o -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
-D CHROMIUM_BUILD -D USE_LIBJPEG_TURBO=1 -D ENABLE_ONE_CLICK_SIGNIN -D
ENABLE_REMOTING=1 -D ENABLE_WEBRTC=1 -D ENABLE_CONFIGURATION_POLICY -D
ENABLE_INPUT_SPEECH -D ENABLE_NOTIFICATIONS -D ENABLE_HIDPI=1 -D ENABLE_GPU=1
-D ENABLE_EGLIMAGE=1 -D USE_SKIA=1 -D ENABLE_TASK_MANAGER=1 -D
ENABLE_WEB_INTENTS=1 -D ENABLE_EXTENSIONS=1 -D ENABLE_PLUGIN_INSTALLATION=1 -D
ENABLE_PROTECTOR_SERVICE=1 -D ENABLE_SESSION_SERVICE=1 -D ENABLE_THEMES=1 -D
ENABLE_BACKGROUND=1 -D ENABLE_AUTOMATION=1 -D ENABLE_LANGUAGE_DETECTION=1 -D
ENABLE_PRINTING=1 -D ENABLE_CAPTIVE_PORTAL_DETECTION=1 -D CLD_WINDOWS -D
ENABLE_SAFE_BROWSING -D USE_OFFICIAL_GOOGLE_API_KEYS=1 -D
GOOGLE_PROTOBUF_NO_RTTI -D GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -D
NACL_WINDOWS=0 -D NACL_LINUX=0 -D NACL_OSX=1 -D NACL_TARGET_SUBARCH=32 -D
NACL_TARGET_ARCH=x86 -D NACL_BUILD_SUBARCH=32 -D NACL_BUILD_ARCH=x86 -D
UNIT_TEST -D GTEST_HAS_RTTI=0 -D SK_BUILD_NO_IMAGE_ENCODE -D
SK_DEFERRED_CANVAS_USES_GPIPE=1 -D
GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h" -D GR_AGGRESSIVE_SHADER_OPTS=1
-D SK_USE_POSIX_THREADS -D COMPILER_GCC -D U_USING_ICU_NAMESPACE=0 -D
U_STATIC_IMPLEMENTATION -D FEATURE_ENABLE_SSL -D FEATURE_ENABLE_VOICEMAIL -D
EXPAT_RELATIVE_PATH -D GTEST_RELATIVE_PATH -D JSONCPP_RELATIVE_PATH -D
NO_MAIN_THREAD_WRAPPING -D NO_SOUND_SYSTEM -D OSX -D POSIX -D XML_STATIC -D
LIBXML_STATIC -D __STDC_FORMAT_MACROS -D DYNAMIC_ANNOTATIONS_ENABLED=1 -D
WTF_USE_DYNAMIC_ANNOTATIONS=1 -D _DEBUG -I ../../third_party/icu/public/common
-I ../../third_party/icu/public/i18n -I ../.. -I ../../third_party/GTM -I
../../third_party/GTM/AppKit -I ../../third_party/khronos -I gen/protoc_out -I
../../third_party/protobuf -I ../../third_party/protobuf/src -I
../../testing/gmock/include -I ../../testing/gtest/include -I gen/policy -I
../../third_party/cacheinvalidation/google/cacheinvalidation -I
../../skia/config -I ../../third_party/skia/src/core -I
../../third_party/skia/include/config -I ../../third_party/skia/include/core -I
../../third_party/skia/include/effects -I ../../third_party/skia/include/pdf -I
../../third_party/skia/include/gpu -I ../../third_party/skia/include/gpu/gl -I
../../third_party/skia/include/pipe -I ../../third_party/skia/include/ports -I
../../third_party/skia/include/utils -I ../../skia/ext -I
../../third_party/skia/include/utils/mac -I ../../third_party/bzip2 -I
../../third_party/cacheinvalidation/overrides -I
../../third_party/cacheinvalidation/src -I ../../third_party/cld -I
../../third_party/leveldatabase/src/include -I
../../third_party/leveldatabase/src -I ../../third_party/libjingle/overrides -I
../../third_party/libjingle/source -I ../../third_party -I
../../third_party/webrtc -I ../../third_party/expat/files/lib -I
../../third_party/jsoncpp/overrides/include -I
../../third_party/jsoncpp/source/include -I
../../third_party/libxml/mac/include -I ../../third_party/libxml/src/include -I
gen -I ../../third_party/mesa/MesaLib/include -I gen/ui/gl -I
gen/ui/ui_resources -I ../../v8/include -I gen/chrome -I
../../third_party/ocmock -fmodule-cache-path
/var/folders/zt/1mcf1bjn2mddfxl1r3gx9hr8000mw2/T/clang-module-cache -O0 -Werror
-Wnewline-eof -Wall -Wendif-labels -Wextra -Wno-unused-parameter
-Wno-missing-field-initializers -Wheader-hygiene -Wno-char-subscripts
-Wno-unused-function -Wno-unnamed-type-template-args -Wno-c++11-extensions
-Wno-covered-switch-default -fdeprecated-macro -fdebug-compilation-dir
/Users/avi/Source/chrome-git/src/out/Debug -ferror-limit 19 -fmessage-length 0
-fvisibility hidden -fvisibility-inlines-hidden -stack-protector 2
-mstackrealign -fblocks -fno-rtti -fno-threadsafe-statics
-fobjc-runtime=macosx-fragile-10.6.0 -fobjc-default-synthesize-properties
-fdiagnostics-show-option -fcolor-diagnostics -load
/Users/avi/Source/chrome-git/src/tools/clang/scripts/../../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.dylib
-add-plugin find-bad-constructs -plugin-arg-find-bad-constructs
skip-virtuals-in-implementations -o
obj/chrome/browser/ui/tabs/unit_tests.test_tab_strip_model_delegate.o -x c++
../../chrome/browser/ui/tabs/test_tab_strip_model_delegate.cc
1. ../../chrome/browser/ui/tabs/test_tab_strip_model_delegate.cc:21:14:
current parser token ';'
2. ../../chrome/browser/ui/tabs/test_tab_strip_model_delegate.cc:20:75:
parsing function body 'AddBlankTabAt'
3. ../../chrome/browser/ui/tabs/test_tab_strip_model_delegate.cc:20:75: in
compound statement ('{}')
clang: error: unable to execute command: Illegal instruction: 4
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2 (trunk 167488)
Target: i386-apple-darwin12.2.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Wed Nov 7 14:09:43 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 07 Nov 2012 22:09:43 +0000
Subject: [LLVMbugs] [Bug 14285] New: Bad __DBL_MIN__, __LDBL_MIN__,
... generated
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14285
Bug #: 14285
Summary: Bad __DBL_MIN__, __LDBL_MIN__, ... generated
Product: clang
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: jeroen.dobbelaere at synopsys.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
When a backend wants to map a 'double' type to a float instance, it indicates
this with setting the 'DoubleFormat' to &llvm::APFloat::IEEESingle
Same thing can be done for 'LongDobleFormat'.
This is mostly fine (the C 'double' type will result in 'f32' llvm-ir type,
but some of the internal generated min/max numbers (__FLT_MIN__, __DBL_MIN__,
...)
contain the wrong suffix, such that __DBL_MIN__ will be interpreted as a float
type, in stead of a double type.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Wed Nov 7 14:29:20 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 07 Nov 2012 22:29:20 +0000
Subject: [LLVMbugs] [Bug 14286] New: hello-world codegen fails: EmitRawText
called on MCStreamer unsupported [powerpc-darwin8]
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14286
Bug #: 14286
Summary: hello-world codegen fails: EmitRawText called on
MCStreamer unsupported [powerpc-darwin8]
Product: new-bugs
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: fang at csl.cornell.edu
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
[fangism:~/temp/clang] fang% make hello.o
~/local/src/LLVM-svn/gcc40-cmake-build/bin/clang++ -c hello.cc -o hello.o
EmitRawText called on an MCStreamer that doesn't support it, something must
not be fully mc'ized
Stack dump:
0. Program arguments:
/Volumes/Isolde/builds/LLVM/gcc40-cmake-build/bin/clang-3.1 -cc1 -triple
powerpc-apple-macosx10.4.0 -emit-obj -mrelax-all -disable-free -main-file-name
hello.cc -pic-level 2 -mdisable-fp-elim -masm-verbose -target-cpu ppc
-coverage-file /Users/fang/temp/clang/hello.o -resource-dir
/Volumes/Isolde/builds/LLVM/gcc40-cmake-build/bin/../lib/clang/3.2
-fmodule-cache-path /var/tmp/clang-module-cache -fdeprecated-macro
-fdebug-compilation-dir /Users/fang/temp/clang -ferror-limit 19
-fmessage-length 80 -mstackrealign -fblocks -fblocks-runtime-optional
-fobjc-runtime=macosx-10.4.0 -fobjc-default-synthesize-properties
-fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o
hello.o -x c++ hello.cc
1. parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'hello.cc'.
clang-3: error: unable to execute command: Trace/BPT trap
clang-3: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2 (trunk)
Target: powerpc-apple-darwin8.11.0
Thread model: posix
clang-3: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang-3: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3: note: diagnostic msg: /tmp/hello-MBXpuH.cpp
clang-3: note: diagnostic msg: /tmp/hello-MBXpuH.sh
clang-3: note: diagnostic msg:
********************
make: *** [hello.o] Error 254
hello.cc:
#include
int
main(int argc, char* argv[]) {
std::cout << "Hello, world!" << std::endl;
int x = 0;
int y = x+2;
std::cout << "y = " << y << std::endl;
return 0;
}
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Wed Nov 7 15:37:44 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Wed, 07 Nov 2012 23:37:44 +0000
Subject: [LLVMbugs] [Bug 13959] Clang can't recognize -Wp,-MMD
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=13959
Michael Spencer changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Michael Spencer 2012-11-07 17:37:44 CST ---
Fixed in r167559.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Wed Nov 7 16:27:47 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 08 Nov 2012 00:27:47 +0000
Subject: [LLVMbugs] [Bug 14287] New: fixit to insert "template<>" is in the
wrong place
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14287
Bug #: 14287
Summary: fixit to insert "template<>" is in the wrong place
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: nicolasweber at gmx.de
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Nicos-MacBook-Pro:clang thakis$ cat tmpl.cc
template
void myFunctionTemplate(T t) { }
void myFunctionTemplate();
Nicos-MacBook-Pro:clang thakis$ ../../Release+Asserts/bin/clang -c tmpl.cc
ActOnStartOfFunctionTemplateDef
tmpl.cc:4:6: error: template specialization requires 'template<>'
void myFunctionTemplate();
^ ~~~~~~
template<>
Note that clang suggests inserting template<> after void instead of before it.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Wed Nov 7 16:41:49 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 08 Nov 2012 00:41:49 +0000
Subject: [LLVMbugs] [Bug 14284] Returning NULL from void-returning function
crashes fixit in getScalarZeroExpressionForType()
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14284
David Blaikie changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |dblaikie at gmail.com
Resolution| |FIXED
--- Comment #3 from David Blaikie 2012-11-07 18:41:49 CST ---
Thanks for the report.
Fixed in r167565
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Wed Nov 7 17:19:52 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 08 Nov 2012 01:19:52 +0000
Subject: [LLVMbugs] [Bug 14288] New: Document sema in the internals manual
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14288
Bug #: 14288
Summary: Document sema in the internals manual
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: nicolasweber at gmx.de
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
The internals manual is missing sema documentation. I started writing some, but
it's not yet publishable. This bug is for snapshotting what I have until
someone (likely me) can pick this up later.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Wed Nov 7 18:32:21 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 08 Nov 2012 02:32:21 +0000
Subject: [LLVMbugs] [Bug 11854] floating point division by 0.0 vs -ftrapv vs
IEEE floating point semantics
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=11854
Sean McBride changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #2 from Sean McBride 2012-11-07 20:32:21 CST ---
If I understand UsersManual.html, -fno-sanitize=divide-by-zero would let me
keep everything except the divide by zero check. That's great!
But really it's only *floating point* div-by-zero that I don't want to be
warned about, since it's semantics are *well defined* by IEEE.
Can we have:
-fsanitize=divide-by-zero-integer
-fsanitize=divide-by-zero-floating-point ?
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 8 01:53:07 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 08 Nov 2012 09:53:07 +0000
Subject: [LLVMbugs] [Bug 14289] New: Silly error message: instruction
expected to be numbered ''
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14289
Bug #: 14289
Summary: Silly error message: instruction expected to be
numbered ''
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: dirkjan at ochtman.nl
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
djc at djc-mbp lang $ clang str.ll
str.ll:10:2: error: instruction expected to be numbered ''
%1 = getelementptr %str* %self, i32 0, i32 0
^
1 error generated.
djc at djc-mbp lang $ clang -v
Apple clang version 4.0 (tags/Apple/clang-421.0.57) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin12.2.0
Thread model: posix
>From trial and error, I deduced that it was actually expected to be numbered
'0'.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 8 02:14:41 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 08 Nov 2012 10:14:41 +0000
Subject: [LLVMbugs] [Bug 14290] New: Incorrectly typed ret instruction
crashes clang frontend
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14290
Bug #: 14290
Summary: Incorrectly typed ret instruction crashes clang
frontend
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: dirkjan at ochtman.nl
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
This is enough to make clang go down in flames:
target triple = "x86_64-apple-darwin11.0.0"
%str = type { i32, i8* }
define %str* @test(%str* %self) {
ret %str %self
}
0 clang 0x0000000101053712 main + 17107202
1 clang 0x0000000101053b99 main + 17108361
2 libsystem_c.dylib 0x00007fff9186d8ea _sigtramp + 26
3 libsystem_c.dylib 0x00007fff6eeb8b58 _sigtramp + 18446744073128948360
4 clang 0x0000000100761a7e main + 7728238
5 clang 0x00000001000efd6a main + 970586
6 clang 0x00000001000efb76 main + 970086
7 clang 0x0000000100045cfb main + 274155
8 clang 0x0000000100044e01 main + 270321
9 clang 0x0000000100019ce2 main + 93906
10 clang 0x0000000100018948 main + 88888
11 clang 0x0000000100006638 main + 14376
12 clang 0x0000000100003097 main + 647
13 clang 0x0000000100002e04
14 clang 0x000000000000002b
Stack dump:
0. Program arguments: /usr/bin/clang -cc1 -triple x86_64-apple-macosx10.8.0
-emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name
add-q1.ll -pic-level 1 -mdisable-fp-elim -relaxed-aliasing -masm-verbose
-munwind-tables -target-cpu core2 -target-linker-version 133.3 -resource-dir
/usr/bin/../lib/clang/4.0 -fdebug-compilation-dir /Users/djc/src/lang
-ferror-limit 19 -fmessage-length 100 -stack-protector 1 -mstackrealign
-fblocks -fobjc-runtime-has-arc -fobjc-runtime-has-weak
-fobjc-dispatch-method=mixed -fobjc-default-synthesize-properties
-fdiagnostics-show-option -fcolor-diagnostics -o
/var/folders/kx/r0q_5lzx0jj0v8rkt8xq1qd40000gn/T/add-q1-hbipHU.o -x ir
add-q1.ll
clang: error: unable to execute command: Segmentation fault: 11
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang: note: diagnostic msg: Please submit a bug report to
http://developer.apple.com/bugreporter/ and include command line arguments and
all diagnostic information.
clang: note: diagnostic msg: Error generating preprocessed source(s) - no
preprocessable inputs.
djc at djc-mbp lang $ clang -v
Apple clang version 4.0 (tags/Apple/clang-421.0.57) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin12.2.0
Thread model: posix
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 8 04:56:18 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 08 Nov 2012 12:56:18 +0000
Subject: [LLVMbugs] [Bug 14289] Silly error message: instruction expected to
be numbered ''
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14289
Benjamin Kramer changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |benny.kra at gmail.com
Resolution| |FIXED
--- Comment #1 from Benjamin Kramer 2012-11-08 06:56:18 CST ---
This was fixed back in March (r152956).
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 8 05:45:01 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 08 Nov 2012 13:45:01 +0000
Subject: [LLVMbugs] [Bug 14291] New: Issues found by building clang with
-fsanitize=undefined
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14291
Bug #: 14291
Summary: Issues found by building clang with
-fsanitize=undefined
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: markus at trippelsdorf.de
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Building clang with:
CC="clang
-fsanitize=alignment,divide-by-zero,float-cast-overflow,null,object-size,return,shift,signed-integer-overflow,unreachable,vla-bound
-w" CXX="clang++
-fsanitize=alignment,divide-by-zero,float-cast-overflow,null,object-size,return,shift,signed-integer-overflow,unreachable,vla-bound
-w" ../llvm/llvm/configure --enable-keep-symbols --enable-optimized
--enable-targets=host
--with-binutils-include=/usr/lib/binutils/x86_64-pc-linux-gnu/git/include
--with-cxx-include-arch=/x86_64-pc-linux-gnu --disable-assertions
--with-extra-options="-march=native"
--with-extra-ld-options="-Wl,-O1,--hash-style=gnu,--as-needed,--gc-sections,--icf=all,--icf-iterations=3"
make
leads to the following two issues:
llvm/lib/Analysis/ValueTracking.cpp:436:19: fatal error: member call on null
pointer of type 'llvm::DataLayout'
llvm/tools/clang/lib/Sema/../../include/clang/AST/TypeLoc.h:1525:27: fatal
error: member access within misaligned address 0x4c149b4 for type
'clang::Elabor
atedLocInfo', which requires 8 byte alignment
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 8 06:25:57 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 08 Nov 2012 14:25:57 +0000
Subject: [LLVMbugs] [Bug 14290] Incorrectly typed ret instruction crashes
clang frontend
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14290
Benjamin Kramer changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |benny.kra at gmail.com
Resolution| |INVALID
--- Comment #1 from Benjamin Kramer 2012-11-08 08:25:57 CST ---
Please update your clang or go to bugreporter.apple.com for bugs in Apple's
clang. Apple clang 4.0 is ancient and not supported by llvm.org.
This was fixed ages ago in clang svn.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 8 08:35:05 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 08 Nov 2012 16:35:05 +0000
Subject: [LLVMbugs] [Bug 14292] New: Crash -- illegal instruction
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14292
Bug #: 14292
Summary: Crash -- illegal instruction
Product: clang
Version: 3.1
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: norman-k-williams at uiowa.edu
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Perhaps related to 8-bit ascii found in one file from DCMTK library (
http://dicom.offis.de/dcmtk.php.en ).
As per instructions script + cpp file attached.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 8 09:44:01 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 08 Nov 2012 17:44:01 +0000
Subject: [LLVMbugs] [Bug 14293] New: register pinned variables are not
pinned to the register
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14293
Bug #: 14293
Summary: register pinned variables are not pinned to the
register
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: PowerPC
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rdivacky at freebsd.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
[rdivacky at anacreon ~]$ cat rtld.c
void *foo() {
register void *tp __asm__("r2");
return tp;
}
[rdivacky at anacreon ~]$ ./llvm/Release+Asserts/bin/clang -O2 -S -o - rtld.c
.file "rtld.c"
.text
.globl foo
.align 2
.type foo, at function
.section .opd,"aw", at progbits
foo:
.align 3
.quad .L.foo
.quad .TOC. at tocbase
.quad 0
.text
.L.foo:
blr
.long 0
.quad 0
.Ltmp0:
.size foo, .Ltmp0-.L.foo
No mention of "r2" in foo at all. The code at O0 is
ld 3, -8(1)
blr
whicih seems wrong to me as well.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 8 09:56:50 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 08 Nov 2012 17:56:50 +0000
Subject: [LLVMbugs] [Bug 14293] register pinned variables are not pinned to
the register
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14293
Eli Friedman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |sharparrow1 at yahoo.com
Resolution| |INVALID
--- Comment #1 from Eli Friedman 2012-11-08 11:56:50 CST ---
__asm__ markings on local register variables only affect inline asm statements.
(There's a bug somewhere to give a better warning, but -Wuninitialized should
already catch this case.)
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 8 10:17:55 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 08 Nov 2012 18:17:55 +0000
Subject: [LLVMbugs] [Bug 14294] New: std::deque clear() (and destructor too)
segfaults because begin() > end()
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14294
Bug #: 14294
Summary: std::deque clear() (and destructor too) segfaults
because begin() > end()
Product: libc++
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
AssignedTo: hhinnant at apple.com
ReportedBy: dan.eloff at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
It seems to me looking at it under the debugger, that the problem is somehow _i
(begin) starts further than _e (end) therefore _i is never equal to _e and the
loop continues until it segfaults. This is the problematic loop in file deque,
but obviously the problem is somewhere else.
template
void
__deque_base<_Tp, _Allocator>::clear() _NOEXCEPT
{
allocator_type& __a = __alloc();
for (iterator __i = begin(), __e = end(); __i != __e; ++__i)
This is for a deque of pointers, so the problem is not in a user destructor.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 8 10:39:58 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 08 Nov 2012 18:39:58 +0000
Subject: [LLVMbugs] [Bug 14295] New: -Wdocumentation warns on duplicate
\return comments, but the doxygen docs allow that
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14295
Bug #: 14295
Summary: -Wdocumentation warns on duplicate \return comments,
but the doxygen docs allow that
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: nicolasweber at gmx.de
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
I just tried -Wdocumentation on a project that had a comment like this:
/// @return the number of processors on the machine. Useful for an initial
/// guess for how many jobs to run in parallel. @return 0 on error.
int GetProcessorCount();
http://www.stack.nl/~dimitri/doxygen/commands.html#cmdreturn says "Multiple
adjacent \return commands will be joined into a single paragraph.", but
-Wdocumentation says:
src/util.h:61:51: warning: duplicated command '\return' [-Wdocumentation]
/// guess for how many jobs to run in parallel. @return 0 on error.
~^~~~~~~~~~~~~~~~~~
src/util.h:60:6: note: previous command '\return' here
/// @return the number of processors on the machine. Useful for an initial
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
It seems like clang shouldn't warn about this.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 8 11:22:43 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 08 Nov 2012 19:22:43 +0000
Subject: [LLVMbugs] [Bug 14292] Crash -- illegal instruction
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14292
Benjamin Kramer changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |benny.kra at gmail.com
Resolution| |FIXED
--- Comment #3 from Benjamin Kramer 2012-11-08 13:22:43 CST ---
Fixed in r167594.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 8 13:28:13 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Thu, 08 Nov 2012 21:28:13 +0000
Subject: [LLVMbugs] [Bug 14294] std::deque clear() (and destructor too)
segfaults because begin() > end()
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14294
Dan Eloff changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #3 from Dan Eloff 2012-11-08 15:28:13 CST ---
Sorry this does seem to be my fault somehow, I can't reproduce it with a
testcase.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 8 20:39:30 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 09 Nov 2012 04:39:30 +0000
Subject: [LLVMbugs] [Bug 14296] New: function parameter name redeclarations
not detected
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14296
Bug #: 14296
Summary: function parameter name redeclarations not detected
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: C++11
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: a.bataev at gmx.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
According to c++11 3.3.3/2 "A parameter name shall not be redeclared in the
outermost block of the function definition nor in the outermost block of any
handler associated with a function-try-block."
Here is the code.
void foo(int ii) try {
}
catch (...) {
int ii;
}
int main() {
foo(1);
return (0);
}
clang++ -std=c++0x test.cpp
Compiles it without any diagnostics.
Alexey Bataev
Software Engineer
Intel Compiler Team
Intel Corp.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 8 21:06:47 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 09 Nov 2012 05:06:47 +0000
Subject: [LLVMbugs] [Bug 14297] New: clang allows looser exception
specification in explicit template instantiation
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14297
Bug #: 14297
Summary: clang allows looser exception specification in
explicit template instantiation
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: a.bataev at gmx.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
According to 15.4p3 "If any declaration of a function has an
exception-specification, all declarations, including the definition and an
explicit
specialization, of that function shall have an exception-specification with the
same set of type-ids".
Clang does not generate error message for the following example
struct SomeStruct{};
template void Foo(T i) throw(T) { throw i; }
template void Foo(int a) throw (char); // explicit instantiation, argument is
deduced. Wrong exception specification is provided
int main() {
try {
SomeStruct slawa;
Foo(slawa);
}
catch(...) { ;}
return(0);
}
clang++ -c test.cpp
Alexey Bataev
Software Engineer
Intel Compiler Team
Intel Corp.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 8 22:20:09 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 09 Nov 2012 06:20:09 +0000
Subject: [LLVMbugs] [Bug 14298] New: Incorrect processing of private
inheritance
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14298
Bug #: 14298
Summary: Incorrect processing of private inheritance
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: a.bataev at gmx.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Here is the small code
1 struct class_2 {
2 };
3
4 struct class_1 : private class_2 {
5 struct class_2 var_2;
6 };
7
8 struct class_0 : private class_1 {
9 struct class_2 var_4;
10 };
Clang unable to compile it with the following error message:
test.cpp:9:12: error: 'class_2' is a private member of 'class_2'
struct class_2 var_4;
^
test.cpp:4:18: note: constrained by private inheritance here
struct class_1 : private class_2 {
^~~~~~~~~~~~~~~
test.cpp:1:8: note: member is declared here
struct class_2 {
^
1 error generated.
gcc compiles this code without any messages.
Alexey Bataev
Software Engineer
Intel Compiler Team
Intel Corp.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Thu Nov 8 22:52:17 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 09 Nov 2012 06:52:17 +0000
Subject: [LLVMbugs] [Bug 14299] New: Incorrect codegen for static local with
address of local label in constructor
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14299
Bug #: 14299
Summary: Incorrect codegen for static local with address of
local label in constructor
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: a.bataev at gmx.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
clang generates incorrect code for the following code:
struct VirtualBase {
VirtualBase() {}
};
struct Mike : virtual VirtualBase {
Mike();
};
Mike::Mike() {
static void *ouch =&&x;
goto *ouch;
x:;
}
struct Dave : virtual Mike {
Dave() {}
};
int main()
{
Mike *m = new Mike();
VirtualBase *v = new Dave;
Mike *m2 = new Mike();
return 0;
}
clang++ -S -emit-llvm -o - test.cpp
Some excerpts from the generated code:
...
@_ZZN4MikeC1EvE4ouch = internal global i8* blockaddress(@_ZN4MikeC2Ev, %x),
align 8
...
define void @_ZN4MikeC1Ev(%struct.Mike* %this) unnamed_addr uwtable ssp align 2
{
...
%2 = load i8** @_ZZN4MikeC1EvE4ouch, align 8
br label %indirectgoto
x: ; preds = %indirectgoto
ret void
indirectgoto: ; preds = %entry
%indirect.goto.dest = phi i8* [ %2, %entry ]
indirectbr i8* %indirect.goto.dest, [label %x]
}
...
define void @_ZN4MikeC2Ev(%struct.Mike* %this, i8** %vtt) unnamed_addr nounwind
uwtable ssp align 2 {
...
%2 = load i8** @_ZZN4MikeC1EvE4ouch, align 8
br label %indirectgoto
x: ; preds = %indirectgoto
ret void
indirectgoto: ; preds = %entry
%indirect.goto.dest = phi i8* [ %2, %entry ]
indirectbr i8* %indirect.goto.dest, [label %x]
}
There is a branch to the code in @_ZN4MikeC2Ev from @_ZN4MikeC1Ev happens.
Building an executable and running the test
clang++ test.cpp
./a.out
Bus error: 10
Alexey Bataev
Software Engineer
Intel Compiler Team
Intel Corp.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 9 06:07:49 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 09 Nov 2012 14:07:49 +0000
Subject: [LLVMbugs] [Bug 14300] New: stack alignment leading to corrupt
values of variables
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14300
Bug #: 14300
Summary: stack alignment leading to corrupt values of variables
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: rahul.s1 at samsung.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
For the below Test Case with O1 optimization , the value of m and n has got
corrupted after call to foo() function which is leading to garbage value for LL
variable .
#include
#ifdef DEBUG
#include
#endif
#ifdef __cplusplus
extern "C" void abort (void);
#else
extern void abort (void);
#endif
int
check_int (int *i, int align)
{
*i = 20;
if ((((ptrdiff_t) i) & (align - 1)) != 0)
{
#ifdef DEBUG
printf ("\nUnalign address (%d): %p!\n", align, i);
#endif
abort ();
}
return *i;
}
void
check (void *p, int align)
{
if ((((ptrdiff_t) p) & (align - 1)) != 0)
{
#ifdef DEBUG
printf ("\nUnalign address (%d): %p!\n", align, p);
#endif
abort ();
}
}
#ifndef ALIGNMENT
#define ALIGNMENT 64
#endif
typedef int t_align __attribute__((aligned(ALIGNMENT)));
int global, global2;
void bar()
{
volatile t_align a = 1;
int i,j,k,l,m,n;
i=j=k=0;
for (i=0; i < global; i++)
for (j=0; j < i; j++)
for (k=0; k < j; k++)
for (l=0; l < k; l++)
for (m=0; m < l; m++)
for (n=0; n < m; n++)
global2 = k;
if (check_int ((int *) &a, __alignof__(a)) != a)
abort ();
throw 0;
}
void foo()
{
bar();
}
int main()
{
int ll = 1;
int i = 0,j = 1,k = 2,l = 3,m = 4,n = 5;
try {
for (; i < global; i++)
for (; j < i; j++)
for (; k < j; k++)
for (; l < k; l++)
for (; m < l; m++)
for (; n < m; n++)
global2 = k;
foo();
}
catch (...)
{
}
ll = i+j+k+l+m+n;
if (ll != 15)
{
#ifdef DEBUG
printf("FAIL: sum %d != 15\n", ll);
#endif
abort();
}
return 0;
}
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 9 06:09:44 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 09 Nov 2012 14:09:44 +0000
Subject: [LLVMbugs] [Bug 14301] New: Add __CYGWIN__ in
llvm/projects/compiler-rt/lib/int_endianness.h
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14301
Bug #: 14301
Summary: Add __CYGWIN__ in
llvm/projects/compiler-rt/lib/int_endianness.h
Product: compiler-rt
Version: unspecified
Platform: PC
OS/Version: other
Status: NEW
Severity: enhancement
Priority: P
Component: compiler-rt
AssignedTo: unassignedbugs at nondot.org
ReportedBy: llvm-acone at gmx.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
CMake did not set the _WIN32 macro in the used version by default. That is why
I suggest to include the __CYGWIN__ definition in int_endianness.h. I know that
I could switch in the legacy mode with CMAKE_LEGACY_CYGWIN_WIN32 to add the
_WIN32 preprocessor statement. But it was my intention to use a pure POSIX
system without direct dependencies from WIN32.
###################
--- system info ---
###################
OS: Windows 7 64 Bit
$ cmake --version
cmake version 2.8.9
$ uname -a
CYGWIN_NT-6.1-WOW64 Gamer 1.7.17(0.262/5/3) 2012-10-19 14:39 i686 Cygwin
$ gcc --version
gcc (GCC) 4.5.3
SVN Revision: 167612
####################
--- build script ---
####################
MYSELF=`readlink -f $0`
MYPATH=`dirname $MYSELF`
export WORK_PATH=/c/temp
export SOURCE_DIR=llvm_sources
export BUILD_DIR=llvm_build
export SOURCE_PATH=$WORK_PATH/$SOURCE_DIR
export BUILD_PATH=$WORK_PATH/$BUILD_DIR
export INSTALL_PATH=$MYPATH/cygwin
if [ -d $SOURCE_PATH ]; then
rm -r $SOURCE_PATH
fi
if [ ! -d $SOURCE_PATH ]; then
mkdir -p $SOURCE_PATH
fi
# Checkout LLVM
cd $SOURCE_PATH
svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
# Checkout Clang
cd llvm/tools
svn co http://llvm.org/svn/llvm-project/cfe/trunk clang
cd ../..
# Checkout extra Clang Tools (optional)
cd llvm/tools/clang/tools
svn co http://llvm.org/svn/llvm-project/clang-tools-extra/trunk extra
cd ../../../..
# Checkout Compiler-RT
cd llvm/projects
svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt
cd ../..
# Get the Test Suite Source Code (optional)
cd llvm/projects
svn co http://llvm.org/svn/llvm-project/test-suite/trunk test-suite
cd ../..
if [ -d $BUILD_PATH ]; then
rm -r $BUILD_PATH
fi
if [ ! -d $BUILD_PATH ]; then
mkdir -p $BUILD_PATH
fi
cd $BUILD_PATH
cmake -DLLVM_TARGETS_TO_BUILD=X86 -DCMAKE_INSTALL_PREFIX=$INSTALL_PATH
$SOURCE_PATH/llvm
cd $BUILD_PATH
make
#####################
--- compile error ---
#####################
[ 49%] Built target llvm-symbolizer
[ 49%] Building C object
projects/compiler-rt/lib/CMakeFiles/clang_rt.i386.dir/a
bsvdi2.c.o
In file included from
/c/temp/llvm_sources/llvm/projects/compiler-rt/lib/int_typ
es.h:21:0,
from
/c/temp/llvm_sources/llvm/projects/compiler-rt/lib/int_lib
.h:41,
from
/c/temp/llvm_sources/llvm/projects/compiler-rt/lib/absvdi2
.c:15:
/c/temp/llvm_sources/llvm/projects/compiler-rt/lib/int_endianness.h:106:2:
error
: #error Unable to determine endian
projects/compiler-rt/lib/CMakeFiles/clang_rt.i386.dir/build.make:57: recipe for
target `projects/compiler-rt/lib/CMakeFiles/clang_rt.i386.dir/absvdi2.c.o'
faile
d
make[2]: ***
[projects/compiler-rt/lib/CMakeFiles/clang_rt.i386.dir/absvdi2.c.o]
Error 1
CMakeFiles/Makefile2:2916: recipe for target
`projects/compiler-rt/lib/CMakeFile
s/clang_rt.i386.dir/all' failed
make[1]: *** [projects/compiler-rt/lib/CMakeFiles/clang_rt.i386.dir/all] Error
2
Makefile:136: recipe for target `all' failed
make: *** [all] Error 2
###################
--- workaround ---
###################
#if defined(_WIN32) || defined(__CYGWIN__)
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 9 06:50:07 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 09 Nov 2012 14:50:07 +0000
Subject: [LLVMbugs] [Bug 14120] compiler crash on invalid code
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14120
Brian Brooks changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 9 07:09:51 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 09 Nov 2012 15:09:51 +0000
Subject: [LLVMbugs] [Bug 9864] crash after error using sizeof on class with
incomplete array member
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=9864
Brian Brooks changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |brooks.brian at gmail.com
Resolution| |FIXED
--- Comment #1 from Brian Brooks 2012-11-09 09:09:51 CST ---
No crash as of r167598.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 9 07:11:52 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 09 Nov 2012 15:11:52 +0000
Subject: [LLVMbugs] [Bug 9852] Assertion failure with invalid C++ code
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=9852
Brian Brooks changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |brooks.brian at gmail.com
Resolution| |FIXED
--- Comment #1 from Brian Brooks 2012-11-09 09:11:52 CST ---
No crash as of r167598.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 9 08:58:50 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 09 Nov 2012 16:58:50 +0000
Subject: [LLVMbugs] [Bug 14302] New: misched asserts on powerpc: problems
with regmasks
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14302
Bug #: 14302
Summary: misched asserts on powerpc: problems with regmasks
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: hfinkel at anl.gov
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9511
--> http://llvm.org/bugs/attachment.cgi?id=9511
bugpoint reduced test case
The new machine-instruction scheduling infrastructure currently does not work
with the PowerPC backend; Something about the way the register masks are
handled is not quite right.
I've attached a small test case. This asserts with:
/src/llvm-trunk-writable/lib/CodeGen/LiveIntervalAnalysis.cpp:1260: void
llvm::LiveIntervals::HMEditor::updateRegMaskSlots(): Assertion `*RI == OldIdx
&& "No RegMask at OldIdx."' failed.
...
8 llc 0x0000000000ba92a8
llvm::LiveIntervals::handleMove(llvm::MachineInstr*, bool) + 632
9 llc 0x0000000000c1fabb
llvm::ScheduleDAGMI::moveInstruction(llvm::MachineInstr*,
llvm::MachineBasicBlock::bundle_iterator >) + 91
10 llc 0x0000000000c2006e
llvm::ScheduleDAGMI::scheduleMI(llvm::SUnit*, bool) + 510
11 llc 0x0000000000c23029 llvm::ScheduleDAGMI::schedule() + 121
This is r167618 running: llc -enable-misched
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 9 09:20:54 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 09 Nov 2012 17:20:54 +0000
Subject: [LLVMbugs] [Bug 5975] [GVN/Instcombine] Missed removal of loads
after undef stores
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=5975
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #6 from Chris Lattner 2012-11-09 11:20:54 CST ---
Yeah, this is now handled, thanks!
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 9 11:07:26 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 09 Nov 2012 19:07:26 +0000
Subject: [LLVMbugs] [Bug 14303] New: clang's --help output regressed from
~60 lines of output to ~470 lines,
and most of the flags printed by it are not understood by the driver
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14303
Bug #: 14303
Summary: clang's --help output regressed from ~60 lines of
output to ~470 lines, and most of the flags printed by
it are not understood by the driver
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: Driver
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: nicolasweber at gmx.de
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
At r155835:
$ ../../Release+Asserts/bin/clang --help | wc -l
58
At r157931:
$ ../../Release+Asserts/bin/clang --help | wc -l
451
Likely caused by r155916; the driver seems to print all the cc1 options too,
even though it doesn't understand them.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 9 11:19:51 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 09 Nov 2012 19:19:51 +0000
Subject: [LLVMbugs] [Bug 14302] misched asserts on powerpc: problems with
regmasks
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14302
Jakob Stoklund Olesen changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |stoklund at 2pi.dk
Resolution| |FIXED
--- Comment #1 from Jakob Stoklund Olesen 2012-11-09 13:19:51 CST ---
Fixed updateRegMaskSlots() assertions in r167625.
This hasn't come up before because other targets consider calls to be
scheduling barriers. I don't know if it is worthwhile to schedule across calls
on PowerPC?
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 9 11:46:47 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 09 Nov 2012 19:46:47 +0000
Subject: [LLVMbugs] [Bug 14282] crash when reading a gch file produced by an
older clang
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14282
Douglas Gregor changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Douglas Gregor 2012-11-09 13:46:47 CST ---
I fixed this in r167539.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 9 12:26:57 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 09 Nov 2012 20:26:57 +0000
Subject: [LLVMbugs] [Bug 14304] New: -Winvalid-constexpr fails to warn on
non-const array used in constexpr function
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14304
Bug #: 14304
Summary: -Winvalid-constexpr fails to warn on non-const array
used in constexpr function
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++11
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: arthur.j.odwyer at gmail.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
cat >test.cc <
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14304
Richard Smith changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |richard-llvm at metafoo.co.uk
Resolution| |WONTFIX
--- Comment #4 from Richard Smith 2012-11-09 16:00:01 CST ---
Note that this slightly different case can produce constant expressions:
constexpr int *foo(int i) {
return &global_array[i];
}
Due to the non-local analysis required, it's not trivial to detect that your
original case can't ever produce a constant expression (the lvalue-to-rvalue
conversion could be quite far from the point where we perform the array
indexing).
This warning is only a best-effort check for a no-diagnostic-required rule. If
you want this fixed, patches would be welcome -- though a patch which makes the
constant expression evaluator more complex just to catch this would probably
not be accepted.
(In reply to comment #2)
> I assume the Committee was worried about the technicalities of undefined
> behavior; e.g. in your example f(0x7fffffff, 1) would technically not have a
> compile-time value, because it wouldn't have any value. But the cure they
> adopted — silently permitting constexpr functions to be evaluated at runtime —
> was worse than the disease.
I don't agree with this at all. There are many cases where you want a constexpr
function to only sometimes produce a constant expression. For instance,
std::array::at (which sometimes throws), or any function which asserts that
preconditions hold for its inputs, any function which conditionally logs or
allocates memory (for instance, std::string(const char*) could be constexpr and
handle just those cases where its small string optimization kicks in), etc.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 9 14:13:38 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 09 Nov 2012 22:13:38 +0000
Subject: [LLVMbugs] [Bug 5928] GVN pass going crazy taking 99% of compile
time
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=5928
Eli Friedman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #9 from Eli Friedman 2012-11-09 16:13:38 CST ---
Okay, closing.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 9 14:16:28 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 09 Nov 2012 22:16:28 +0000
Subject: [LLVMbugs] [Bug 14305] New: thumb2 bit test optimization opportunity
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14305
Bug #: 14305
Summary: thumb2 bit test optimization opportunity
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: ARM
AssignedTo: unassignedbugs at nondot.org
ReportedBy: bagel99 at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9515
--> http://llvm.org/bugs/attachment.cgi?id=9515
bit test example
This is a missing optimization for Thumb2 code.
A bit test on a dead variable is now done with a "tst.w reg,#bit", with
conditions EQ,NE. It could be done with a "lsls reg,#shf" to shift the bit
into the sign bit, with conditions PL,MI.
The test program generates (on the trunk):
bittest:
mov r1, r0
movs r0, #0
tst.w r1, #128
it eq
moveq r0, #42
bx lr
It could generate, 2 bytes smaller:
bittest:
mov r1, r0
movs r0, #0
lsls r1, #24
it pl
movpl r0, #42
bx lr
Even better would be, 4 bytes smaller:
bittest:
lsls r0, #24
ite pl
movpl r0, #42
movmi r0, #0
bx lr
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 9 14:54:32 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 09 Nov 2012 22:54:32 +0000
Subject: [LLVMbugs] [Bug 14306] New: -fbounds-checking should be a
-fsanitize= option and should use sanitizer infrastructure
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14306
Bug #: 14306
Summary: -fbounds-checking should be a -fsanitize= option and
should use sanitizer infrastructure
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: richard-llvm at metafoo.co.uk
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
-fbounds-checking should live under the -fsanitize= umbrella. Instead of just
creating an @llvm.trap call, it should call into a sanitizer runtime library to
produce an explanatory message.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 9 15:35:28 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 09 Nov 2012 23:35:28 +0000
Subject: [LLVMbugs] [Bug 14303] clang's --help output regressed from ~60
lines of output to ~470 lines,
and most of the flags printed by it are not understood by the driver
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14303
Richard Smith changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 9 15:52:30 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 09 Nov 2012 23:52:30 +0000
Subject: [LLVMbugs] [Bug 13354] NVPTX intrinsics table misses __nvvm_*
buitins
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=13354
Justin Holewinski changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |justin.holewinski at gmail.com
Resolution| |FIXED
--- Comment #1 from Justin Holewinski 2012-11-09 17:52:30 CST ---
Fix committed in r167647.
Thanks for the report!
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 9 15:53:36 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Fri, 09 Nov 2012 23:53:36 +0000
Subject: [LLVMbugs] [Bug 13324] [NVPTX] llc -march=nvptx64 -mcpu=sm_20
generates invalid zero align for device function params
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=13324
Justin Holewinski changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |justin.holewinski at gmail.com
Resolution| |FIXED
--- Comment #1 from Justin Holewinski 2012-11-09 17:53:36 CST ---
Fix committed in r167646.
Thanks for the report!
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 9 16:20:09 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 10 Nov 2012 00:20:09 +0000
Subject: [LLVMbugs] [Bug 14307] New: Accurate GC documentation code examples
obsolete
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14307
Bug #: 14307
Summary: Accurate GC documentation code examples obsolete
Product: Documentation
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: General docs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: ralith at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
The C++ code examples in docs/GarbageCollection.html have fallen out of sync
with the APIs in question. For example, GCMetadataPrinter::beginAssembly and
finishAssembly now take only one argument.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 9 16:20:48 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 10 Nov 2012 00:20:48 +0000
Subject: [LLVMbugs] [Bug 14285] Bad __DBL_MIN__, __LDBL_MIN__, ... generated
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14285
Eli Friedman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Eli Friedman 2012-11-09 18:20:48 CST ---
r167649.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 9 17:04:35 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 10 Nov 2012 01:04:35 +0000
Subject: [LLVMbugs] [Bug 14296] function parameter name redeclarations not
detected
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14296
David Blaikie changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from David Blaikie 2012-11-09 19:04:35 CST ---
Fixed in r167650.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 9 17:32:53 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 10 Nov 2012 01:32:53 +0000
Subject: [LLVMbugs] [Bug 14308] New: clang frontend command failed due to
signal on crosscompile
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14308
Bug #: 14308
Summary: clang frontend command failed due to signal on
crosscompile
Product: clang
Version: unspecified
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: erik at arawix.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
1> clang version 3.2 (trunk)
1> Target: arm-apple-darwin9
See attached files. I am crosscompiling (host=win, target=iphone)
Can do a debug dump if needed.
Called:
Clang.exe -x c++ -o iOS/Debug/grgfx.o -DSPEEDTREERT_DYNAMIC_LIB -D_DEBUG -Wall
-marm -fno-strict-aliasing -fomit-frame-pointer -fno-exceptions -msoft-float
-fpic -fstack-protector -fno-rtti -fno-short-enums
-Ie:/OSX/Platform/iPhoneOS4.3.sdk/usr/include
-Ie:/OSX/Platform/iPhoneOS4.3.sdk/usr/gcc_include
-Ie:/OSX/Platform/iPhoneOS4.3.sdk/usr/include/c++/4.2.1
-Ie:/OSX/Platform/iPhoneOS4.3.sdk/usr/include/arm
-Ie:/OSX/Platform/iPhoneOS4.3.sdk/usr/include/c++/4.2.1/armv7-apple-darwin10
-DAPPLE -D__APPLE__ -D__APPLE_CPP__ -D__arm__ -D__ARM_ARCH_7A__ -D__ARM_EABI__
-target arm-apple-darwin9 -O0 -g -IE:/work/ionix/libs/ExoLib
-IE:/work/ionix/libs/ExoLib/src -IE:/work/ionix/libs/bullet/src
-IE:/work/ionix/libs/libsdl/include -fapple-pragma-pack
-miphoneos-version-min=3.0.0 -c -MD ../graphics/grgfx.cpp
Final:
Clang.exe -cc1 -triple armv4t-apple-ios3.0.0 -emit-obj -mrelax-all
-disable-free -disable-llvm-verifier -main-file-name grgfx.cpp -pic-level 2
-relaxed-aliasing -masm-verbose -target-abi apcs-gnu -target-cpu arm7tdmi
-msoft-float -mfloat-abi soft -target-feature +soft-float -target-feature
+soft-float-abi -target-feature -neon -g -coverage-file
E:\work\ionix\libs\ExoLib\VC10Prj\iOS/Debug/grgfx.o -resource-dir
e:/OSX/Compiler/bin\..\lib\clang\3.2 -dependency-file iOS/Debug/grgfx.d -MT
iOS/Debug/grgfx.o -sys-header-deps -D SPEEDTREERT_DYNAMIC_LIB -D _DEBUG -D
APPLE -D __APPLE__ -D __APPLE_CPP__ -D __arm__ -D __ARM_ARCH_7A__ -D
__ARM_EABI__ -I e:/OSX/Platform/iPhoneOS4.3.sdk/usr/include -I
e:/OSX/Platform/iPhoneOS4.3.sdk/usr/gcc_include -I
e:/OSX/Platform/iPhoneOS4.3.sdk/usr/include/c++/4.2.1 -I
e:/OSX/Platform/iPhoneOS4.3.sdk/usr/include/arm -I
e:/OSX/Platform/iPhoneOS4.3.sdk/usr/include/c++/4.2.1/armv7-apple-darwin10 -I
E:/work/ionix/libs/ExoLib -I E:/work/ionix/libs/ExoLib/src -I
E:/work/ionix/libs/bullet/src -I E:/work/ionix/libs/libsdl/include
-fmodule-cache-path C:\Users\evangrun\AppData\Local\Temp\clang-module-cache
-IC:\Program Files (x86)\Intel\Compiler\11.0\061\cpp\mkl\include -O0 -Wall
-fdeprecated-macro -ferror-limit 19 -fmessage-length 0 -stack-protector 1
-mstackrealign -fblocks -fblocks-runtime-optional -fno-rtti
-fobjc-runtime=ios-3.0.0 -fobjc-default-synthesize-properties -fsjlj-exceptions
-fdiagnostics-show-option -fapple-pragma-pack -o iOS/Debug/grgfx.o -x c++
../graphics/grgfx.cpp
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 9 17:54:46 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 10 Nov 2012 01:54:46 +0000
Subject: [LLVMbugs] [Bug 14309] New: Incorrect optimization of thread_local
variables
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14309
Bug #: 14309
Summary: Incorrect optimization of thread_local variables
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: tbergan at cs.washington.edu
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9516
--> http://llvm.org/bugs/attachment.cgi?id=9516
Minimal C program that demonstrates the bug
I believe there is a bug in the way the optimizer deals with thread_local
variables. The attached program, test.c, has a thread-local variable "int Foo"
and a global variable "int *Ptr". The program takes the following steps:
1) The main thread spawns a new thread and waits
2) The new thread writes Foo = 50 and Ptr = &Foo, then signals the main thread
and waits
3) The main thread prints *Ptr, releases the new thread, and exits
The crux of this example is that the main thread obtains a pointer to the new
thread's TLS via "Ptr". When I compile with gcc, the program prints "50" as
expected. When I compile with LLVM, the program prints "0". To demonstrate
the bug, run the following commands with the attached "test.c" (verified with
revision 167568):
$ clang -O3 -lpthread test.c -o test
$ ./test # prints "Foo: 0"
I'm attaching the following files:
* test.c
* test.0.ll, which was built with "clang -emit-llvm -S -O0 test.c -o test.0.ll"
* test.3.ll, which was built with "clang -emit-llvm -S -O3 test.c -o test.3.ll"
It is pretty clear that "test.3.ll" is an incorrect optimization of
"test.0.ll". You can see the bug in main(), where LLVM has optimized the load
"*Ptr" into the following instructions:
%.b = load i1* @Foo.b, align 1 ; main() loads its own @Foo.b, not the
@Foo.b written by run()
%0 = select i1 %.b, i32 50, i32 0
My guess is that the optimizer does not realize that thread_local addresses are
not constant in the same way that global addresses are constant, since each
thread_local variable actually names N variables, one for each of N running
threads. Thus, it's not safe to optimize across two accesses of a thread_local
variable unless it can be proven that both accesses will be performed by the
same thread.
In terms of LLVM's design, I've noticed that thread_local variables are
represented in the same way as ordinary global variables (via
llvm::GlobalVariable) except that the "isThreadLocal" flag is true. This
strikes me as a potential for confusion, because you have this one corner case
-- thread_locals -- in which an "llvm::Constant" is not really a "constant" in
the same way as other constants. This might be related to
http://llvm.org/bugs/show_bug.cgi?id=13720, and perhaps a few other bugs.
-Tom
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 9 18:39:39 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 10 Nov 2012 02:39:39 +0000
Subject: [LLVMbugs] [Bug 14310] New: Upgrade NVPTX to use PTX 3.1
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14310
Bug #: 14310
Summary: Upgrade NVPTX to use PTX 3.1
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: justin.holewinski at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Add a PTX 3.1 target to NVPTX back-end (or just upgrade the relevant parts of
the back-end). This will make the resulting PTX compatible with the CUDA 5.0
linker.
Added here as a post-3.2 task.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Fri Nov 9 20:28:42 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 10 Nov 2012 04:28:42 +0000
Subject: [LLVMbugs] [Bug 14311] New: Change introduced in r164241 broke
std::stringstream
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14311
Bug #: 14311
Summary: Change introduced in r164241 broke std::stringstream
Product: libc++
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
AssignedTo: hhinnant at apple.com
ReportedBy: oneill+llvmbugs at cs.hmc.edu
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9519
--> http://llvm.org/bugs/attachment.cgi?id=9519
Code that generates an assert fail.
The enclosed code works prior to r164241 and generates the following assert
fail thereafter.
Assertion failed:
(stringFrom("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\xFF")
==
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\xFF"),
function main, file /tmp/bug.cpp, line 26.
Abort
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sat Nov 10 05:03:34 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 10 Nov 2012 13:03:34 +0000
Subject: [LLVMbugs] [Bug 12010] BranchProbabilityInfo::getSumForBlock asserts
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=12010
Benjamin Kramer changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Benjamin Kramer 2012-11-10 07:03:34 CST ---
OK, closing as fixed.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sat Nov 10 05:05:15 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 10 Nov 2012 13:05:15 +0000
Subject: [LLVMbugs] [Bug 12242] Build failure on NetBSD
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=12242
Benjamin Kramer changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |benny.kra at gmail.com
Resolution| |FIXED
--- Comment #3 from Benjamin Kramer 2012-11-10 07:05:15 CST ---
Not really an LLVM bug, closing this now as it's fixed in upstream libstdc++.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sat Nov 10 05:30:28 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 10 Nov 2012 13:30:28 +0000
Subject: [LLVMbugs] [Bug 11251] lshr of character vector inefficient on x86
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=11251
Benjamin Kramer changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |benny.kra at gmail.com
Resolution| |FIXED
--- Comment #1 from Benjamin Kramer 2012-11-10 07:30:28 CST ---
This was fixed a while ago. llc emits:
LCPI0_0:
.space 16,63
.section __TEXT,__text,regular,pure_instructions
.globl _shift_vec16x8
.align 4, 0x90
_shift_vec16x8: ## @shift_vec16x8
.cfi_startproc
## BB#0: ## %entry
psrlw $2, %xmm0
pand LCPI0_0(%rip), %xmm0
ret
.cfi_endproc
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sat Nov 10 05:34:16 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 10 Nov 2012 13:34:16 +0000
Subject: [LLVMbugs] [Bug 11115] Many warnings when building with -Weffc++
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=11115
Benjamin Kramer changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |benny.kra at gmail.com
Resolution| |WONTFIX
--- Comment #1 from Benjamin Kramer 2012-11-10 07:34:16 CST ---
-Weffc++ is very noisy and most of the warnings are useless. For example it
wants that every constructor initializes all members via an initializer list,
even though it's unnecessary if the member is POD or the default ctor is used.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sat Nov 10 05:38:01 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 10 Nov 2012 13:38:01 +0000
Subject: [LLVMbugs] [Bug 10425] clang --help is missing many options
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=10425
Benjamin Kramer changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |benny.kra at gmail.com
Resolution| |FIXED
--- Comment #1 from Benjamin Kramer 2012-11-10 07:38:01 CST ---
clang trunk lists a lot more options.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sat Nov 10 05:43:18 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 10 Nov 2012 13:43:18 +0000
Subject: [LLVMbugs] [Bug 9742] LLVM 2.9 won't compile on Solaris
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=9742
Benjamin Kramer changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |benny.kra at gmail.com
Resolution| |FIXED
--- Comment #3 from Benjamin Kramer 2012-11-10 07:43:18 CST ---
Closing then.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sat Nov 10 08:10:27 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 10 Nov 2012 16:10:27 +0000
Subject: [LLVMbugs] [Bug 13477] AlignOfTest.cpp build failure with Intel
Compiler
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=13477
Benjamin Kramer changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |benny.kra at gmail.com
Resolution| |FIXED
--- Comment #2 from Benjamin Kramer 2012-11-10 10:10:27 CST ---
Fixed in r167676.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sat Nov 10 08:52:12 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 10 Nov 2012 16:52:12 +0000
Subject: [LLVMbugs] [Bug 11011] MCJIT does not support ELF ("Unknown Object
Format")
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=11011
Benjamin Kramer changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |benny.kra at gmail.com
Resolution| |FIXED
--- Comment #2 from Benjamin Kramer 2012-11-10 10:52:12 CST ---
trunk MCJIT also works on ELF platforms.
It also supports ELF on windows, which seems to be sufficient to get the JIT
running.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sat Nov 10 09:27:20 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 10 Nov 2012 17:27:20 +0000
Subject: [LLVMbugs] [Bug 10614] Redundant load of address of array
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=10614
Benjamin Kramer changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |benny.kra at gmail.com
Resolution| |FIXED
--- Comment #6 from Benjamin Kramer 2012-11-10 11:27:20 CST ---
MachineCSE gets this in trunk:
movl %esi, %eax
leaq __ZL10PowersOf10(%rip), %rcx
movl (%rcx,%rax,4), %eax
cmpl %edi, %eax
jbe LBB0_2
## BB#1: ## %if.then
decl %esi
movl (%rcx,%rsi,4), %eax
LBB0_2: ## %return
popq %rbp
ret
(Probably due to the fix for PR13578)
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sat Nov 10 11:37:28 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 10 Nov 2012 19:37:28 +0000
Subject: [LLVMbugs] [Bug 14313] New: Custom project configuration error
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14313
Bug #: 14313
Summary: Custom project configuration error
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: release blocker
Priority: P
Component: llvm-config
AssignedTo: unassignedbugs at nondot.org
ReportedBy: wojtek.danilo at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
According to http://llvm.org/docs/Projects.html setting custom project based on
LLVM should be easy, but it does not. The bundled makefiles and llvm-config
does not work properly.
STEPS TO REPRODUCE:
1) compile LLVM as described here:
http://llvm.org/docs/GettingStarted.html#getting-started
lets LLVM src folder = $LLVMSRC
2) cd $LLVMSRC/projects
cp -R sample sample2
3) cd sample2/tools/sample
4) add to Makefile (before include $(LEVEL)/Makefile.common) following line:
LINK_COMPONENTS = all
5) cd $LLVMSRC/projects/sample2
6) mkdir build
7) cd build
8) ../configure (what is strange i see the first line of configure as:
"llvm-config .... no" - it is related to this bug)
9) make VERBOSE=1
as a result we should get our porgram compiled, but we get error, that
llvm-config could not be found. If I type llvm-config in terminal it works.
full verbose output:
make VERBOSE=1
for dir in lib tools; do \
if ([ ! -f $dir/Makefile ] || \
command test $dir/Makefile -ot
/home/wdanilo/dev/llvm/src/projects/sample2/$dir/Makefile ); then \
/home/wdanilo/dev/llvm/src/projects/sample2/build/../autoconf/mkinstalldirs
$dir; \
/usr/bin/cp /home/wdanilo/dev/llvm/src/projects/sample2/$dir/Makefile
$dir/Makefile; \
fi; \
(make -C $dir all ) || exit 1; \
done
make[1]: Entering directory
`/home/wdanilo/dev/llvm/src/projects/sample2/build/lib'
for dir in sample; do \
if ([ ! -f $dir/Makefile ] || \
command test $dir/Makefile -ot
/home/wdanilo/dev/llvm/src/projects/sample2/lib/$dir/Makefile ); then \
/home/wdanilo/dev/llvm/src/projects/sample2/build/../autoconf/mkinstalldirs
$dir; \
/usr/bin/cp /home/wdanilo/dev/llvm/src/projects/sample2/lib/$dir/Makefile
$dir/Makefile; \
fi; \
(make -C $dir all ) || exit 1; \
done
make[2]: Entering directory
`/home/wdanilo/dev/llvm/src/projects/sample2/build/lib/sample'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/wdanilo/dev/llvm/src/projects/sample2/build/lib/sample'
make[1]: Leaving directory
`/home/wdanilo/dev/llvm/src/projects/sample2/build/lib'
make[1]: Entering directory
`/home/wdanilo/dev/llvm/src/projects/sample2/build/tools'
for dir in sample; do \
if ([ ! -f $dir/Makefile ] || \
command test $dir/Makefile -ot
/home/wdanilo/dev/llvm/src/projects/sample2/tools/$dir/Makefile ); then \
/home/wdanilo/dev/llvm/src/projects/sample2/build/../autoconf/mkinstalldirs
$dir; \
/usr/bin/cp /home/wdanilo/dev/llvm/src/projects/sample2/tools/$dir/Makefile
$dir/Makefile; \
fi; \
(make -C $dir all ) || exit 1; \
done
/bin/sh: /home/wdanilo/dev/llvm/src/projects/Debug+Asserts/bin/llvm-config: No
such file or directory
make[2]: Entering directory
`/home/wdanilo/dev/llvm/src/projects/sample2/build/tools/sample'
/home/wdanilo/dev/llvm/src/projects/sample2/build/../Makefile.llvm.rules:963:
*** llvm-config --libs failed. Stop.
make[2]: Leaving directory
`/home/wdanilo/dev/llvm/src/projects/sample2/build/tools/sample'
make[1]: *** [all] Error 1
make[1]: Leaving directory
`/home/wdanilo/dev/llvm/src/projects/sample2/build/tools'
make: *** [all] Error 1
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sat Nov 10 15:14:26 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sat, 10 Nov 2012 23:14:26 +0000
Subject: [LLVMbugs] [Bug 14311] Change introduced in r164241 broke
std::stringstream
In-Reply-To:
References:
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14311
Howard Hinnant changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #5 from Howard Hinnant 2012-11-10 17:14:26 CST ---
I've recently updated the instructions for running tip-of-trunk on OS X:
http://libcxx.llvm.org
using
export DYLD_LIBRARY_PATH=/lib
clang++ -std=c++11 -stdlib=libc++ -nostdinc++ -I/include
-L/lib test.cpp
I think this is a safer route to go instead of changing your system. I've seen
people crash their Mac by replacing the dylib (I've done it myself too). So
the above is a less intrusive (though awkward) way to experiment with tot.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sat Nov 10 17:14:21 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 11 Nov 2012 01:14:21 +0000
Subject: [LLVMbugs] [Bug 14314] New: Codegen for atomicrmw sub i64 is broken
for x86-32
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14314
Bug #: 14314
Summary: Codegen for atomicrmw sub i64 is broken for x86-32
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: tjablin at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9522
--> http://llvm.org/bugs/attachment.cgi?id=9522
Testcase
The following program should should print -1.
#include
#include
int64_t atomicSub(int64_t *a, int64_t b) {
return __sync_fetch_and_sub(a, b);
}
int main(int argc, char **argv) {
int64_t a = 0;
atomicSub(&a, 1);
printf("a = %lli\n", a);
return 0;
}
clang on x86-64 and gcc on all architectures compile the program correctly.
clang on x86-32 prints 1. The last working revision of clang was 164820. The
bug first appears in 164821 after a checkin from Michael Liao titled, "Re-work
X86 code generation of atomic ops with spin-loop."
I have attached LLVM IR for the test case. The LLVM IR is generated correctly
in both 164820 and 164821.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at llvm.org Sat Nov 10 21:22:06 2012
From: bugzilla-daemon at llvm.org (bugzilla-daemon at llvm.org)
Date: Sun, 11 Nov 2012 05:22:06 +0000
Subject: [LLVMbugs] [Bug 14315] New: Register regmask dependency problem
with misched
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=14315
Bug #: 14315
Summary: Register regmask dependency problem with misched
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: hfinkel at anl.gov
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9523
--> http://llvm.org/bugs/attachment.cgi?id=9523
bugpoint reduced test case
Now that PR14302 has been fixed, there seems to be another similar issue.
For this input block:
BB#0: derived from LLVM BB %entry
Live Ins: %F1
%vreg2 = COPY %F1; F8RC:%vreg2
%vreg8 = LI -1; GPRC:%vreg8
ADJCALLSTACKDOWN 112, %R1, %R1
BL8_NOP_ELF , , %RM, %R1, ...
ADJCALLSTACKUP 112, 0, %R1, %R1
ADJCALLSTACKDOWN 112, %R1, %R1
BL8_NOP_ELF , , %RM, %R1, ...
ADJCALLSTACKUP 112, 0, %R1, %R1
Successors according to CFG: BB#1
The copy is not constrained to come before the call:
SU(0): %vreg2