[LLVMbugs] [Bug 17976] New: r187827 caused 1.5% size regression under AddressSanitizer

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Nov 18 01:54:53 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=17976

            Bug ID: 17976
           Summary: r187827 caused 1.5% size regression under
                    AddressSanitizer
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Miscellaneous Instrumentation passes
          Assignee: unassignedbugs at nondot.org
          Reporter: glider at google.com
                CC: isanbard at gmail.com, kcc at google.com,
                    llvmbugs at cs.uiuc.edu
    Classification: Unclassified

r187827, which changed the linkage of ASan-generated globals from 'private' to
'internal', has also caused a 1.5% size regression because those globals end up
in the symbol table:

% cat a.cc
int x, y, z;
int main() { }
% clang -fsanitize=address  a.cc && nm a.out | grep asan_gen
000000000046f178 r __asan_gen_
000000000046724b r __asan_gen_1
000000000046d48a r __asan_gen_2
000000000046f17d r __asan_gen_3


According to Kostya, "for chrome's content_shell the size increase is 1.5%
(6Mb), which is huge."

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131118/f8ed0317/attachment.html>


More information about the llvm-bugs mailing list