Bug 127935

Summary: DumpRenderTree fails to build with ASAN: -fsanitize=address passed to static DRT target
Product: WebKit Reporter: David Farler <dfarler>
Component: Tools / TestsAssignee: David Farler <dfarler>
Status: RESOLVED FIXED    
Severity: Normal CC: aestes, ddkilzer
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch aestes: review+

Description David Farler 2014-01-30 12:51:51 PST
Libtool /Volumes/Data/BuildSlave/build-asan-webkit/OpenSource/WebKitBuild/Release/libDumpRenderTree.a normal x86_64
    cd /Volumes/Data/BuildSlave/build-asan-webkit/OpenSource/Tools/DumpRenderTree
    /Applications/Xcode.app/Contents/Developer/Toolchains/ASAN.xctoolchain/usr/bin/libtool -static -arch_only x86_64 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.Internal.sdk -L/Volumes/Data/BuildSlave/build-asan-webkit/OpenSource/WebKitBuild/Release -filelist /Volumes/Data/BuildSlave/build-asan-webkit/OpenSource/WebKitBuild/DumpRenderTree.build/Release/DumpRenderTree\ (Library).build/Objects-normal/x86_64/DumpRenderTree.LinkFileList -fsanitize=address -lclang_rt.asan_osx_dynamic -o /Volumes/Data/BuildSlave/build-asan-webkit/OpenSource/WebKitBuild/Release/libDumpRenderTree.a
/Applications/Xcode.app/Contents/Developer/Toolchains/ASAN.xctoolchain/usr/bin/libtool: unknown option character `f' in: -fsanitize=address
Comment 1 David Farler 2014-01-30 12:57:30 PST
Created attachment 222716 [details]
Patch
Comment 2 Andy Estes 2014-01-30 13:18:05 PST
Comment on attachment 222716 [details]
Patch

r=me, but I'd rather this be done in DumpRenderTreeLibrary.xcconfig.
Comment 3 David Farler 2014-01-30 13:21:39 PST
Committed r163107: <http://trac.webkit.org/changeset/163107>
Comment 4 David Farler 2014-01-30 13:31:52 PST
Committed r163110: http://trac.webkit.org/changeset/163110
(Moved to xcconfig)