ramosian-glider / sanitizers

0 stars 0 forks source link

__builtin_longjmp is not supported (causing false positives) #130

Closed ramosian-glider closed 9 years ago

ramosian-glider commented 9 years ago

Originally reported on Google Code with ID 129

.. because the call does not have the noreturn attribute in the LLVM IR. 

define void @_Z3fooPPv(i8** %b) noreturn nounwind uwtable {
entry:
  %0 = bitcast i8** %b to i8*
  tail call void @llvm.eh.sjlj.longjmp(i8* %0)   <<<<<<<<<<<<<
  unreachable
}

declare void @llvm.eh.sjlj.longjmp(i8*) noreturn nounwind

Reported by konstantin.s.serebryany on 2012-11-28 13:51:49

ramosian-glider commented 9 years ago
Fixed by http://llvm.org/viewvc/llvm-project?rev=168861&view=rev

Reported by konstantin.s.serebryany on 2012-11-29 09:03:30

ramosian-glider commented 9 years ago
Adding Project:AddressSanitizer as part of GitHub migration.

Reported by ramosian.glider on 2015-07-30 09:13:40