lewisje / address-sanitizer

Automatically exported from code.google.com/p/address-sanitizer
0 stars 0 forks source link

__builtin_longjmp is not supported (causing false positives) #129

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
.. 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

Original issue reported on code.google.com by konstant...@gmail.com on 28 Nov 2012 at 1:51

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

Original comment by konstant...@gmail.com on 29 Nov 2012 at 9:03

GoogleCodeExporter commented 9 years ago
Adding Project:AddressSanitizer as part of GitHub migration.

Original comment by ramosian.glider@gmail.com on 30 Jul 2015 at 9:13