[llvm-commits] [llvm] r144962 - in /llvm/trunk: lib/Transforms/Instrumentation/AddressSanitizer.cpp test/Instrumentation/AddressSanitizer/bug_11395.ll

NAKAMURA Takumi geek4civic at gmail.com
Fri Mar 9 08:10:13 PST 2012


Kostya, excuse me to comment to older commit.

2011/11/18 Kostya Serebryany <kcc at google.com>:
> Author: kcc
> Date: Thu Nov 17 19:41:06 2011
> New Revision: 144962
>
> URL: http://llvm.org/viewvc/llvm-project?rev=144962&view=rev
> Log:
> [asan] workaround for reg alloc bug 11395: don't instrument functions with large chunks of inline assembler

> Added: llvm/trunk/test/Instrumentation/AddressSanitizer/bug_11395.ll
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Instrumentation/AddressSanitizer/bug_11395.ll?rev=144962&view=auto

> +; RUN: opt < %s -asan -S | llc -o /dev/null
> +; The bug manifests as a reg alloc failure:
> +; error: ran out of registers during register allocation
> +; ModuleID = 'z.o'
> +target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32-S128"
> +target triple = "i386-unknown-linux-gnu"

It fails if targets_to_build does not contain x86.

...Takumi



More information about the llvm-commits mailing list