- Nov 05, 2014
-
-
Alexey Samsonov authored
TSan used to do the following transformations with data obtained from the symbolizer: 1) Strip "__interceptor_" prefix from function name. 2) Use "strip_path_prefix" runtime flag to strip filepath. Now these transformations are performed right before the stack trace is printed, and ReportStack structure contains original information. This seems like a right thing to do - stripping is a detail of report formatting implementation, and should belong there. We should, for example, use original path to source file when we apply suppressions. This change also make "strip_path_prefix" flag behavior in TSan consistent with all the other sanitizers - now it should actually match *the prefix* of path, not some substring. E.g. earlier TSan would turn "/usr/lib/libfoo.so" into "libfoo.so" even if strip_path_prefix was "/lib/". Finally, strings obtained from symbolizer come from internal allocator, and "stripping" them early by incrementing a "char*" ensures they can never be properly deallocated, which is a bug. llvm-svn: 221283
-
Rafael Espindola authored
Patch by Steve King. llvm-svn: 221282
-
David Majnemer authored
No functionality change intended, it's just a little more concise. llvm-svn: 221281
-
David Majnemer authored
No functionality change intended, it's just a little more concise. llvm-svn: 221280
-
Kuba Brecka authored
Change the LC_ID_DYLIB of ASan's dynamic libraries on OS X to be set to "@rpath/libclang_rt.asan_osx_dynamic.dylib" and similarly for iossim. Clang driver then sets the "-rpath" to be the real path to where clang currently has the dylib (because clang uses the relative path to its current executable). This means if you move the compiler or install the binary release, -fsanitize=address will link to the proper library. Reviewed at http://reviews.llvm.org/D6018 llvm-svn: 221279
-
Kuba Brecka authored
Change the LC_ID_DYLIB of ASan's dynamic libraries on OS X to be set to "@rpath/libclang_rt.asan_osx_dynamic.dylib" and similarly for iossim. Clang driver then sets the "-rpath" to be the real path to where clang currently has the dylib (because clang uses the relative path to its current executable). This means if you move the compiler or install the binary release, -fsanitize=address will link to the proper library. Reviewed at http://reviews.llvm.org/D6018 llvm-svn: 221278
-
Toma Tabacu authored
Summary: Appropriately set/clear the FeatureBit for Mips16 when these assembler directives are used and also emit ".set nomips16" (previously, only ".set mips16" was being emitted). These improvements allow for better testing of the .cpload/.cprestore assembler directives (which are not supposed to work when Mips16 is enabled). Test Plan: The test is bare-bones because there are no MC tests for Mips16 instructions (there's only one, which checks that the Mips16 ELF header flag gets set), and that suggests to me that it has not been implemented yet in the IAS. Reviewers: dsanders Reviewed By: dsanders Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D5462 llvm-svn: 221277
-
Juergen Ributzka authored
llvm-svn: 221276
-
Eric Fiselier authored
llvm-svn: 221275
-
Sanjay Patel authored
llvm-svn: 221274
-
Sanjay Patel authored
llvm-svn: 221273
-
- Nov 04, 2014
-
-
Alexander Kornienko authored
llvm-svn: 221272
-
Yaron Keren authored
llvm-svn: 221271
-
NAKAMURA Takumi authored
llvm-svn: 221270
-
NAKAMURA Takumi authored
llvm-svn: 221269
-
Simon Atanasyan authored
llvm-svn: 221268
-
NAKAMURA Takumi authored
clang/test/Tooling: Remove mention to PR15590 out of a couple of tests. They are suppressed with another issue. llvm-svn: 221267
-
NAKAMURA Takumi authored
llvm-svn: 221266
-
NAKAMURA Takumi authored
change in r221153. llvm-svn: 221265
-
NAKAMURA Takumi authored
FIXME: Is it intentional? s;OUT_DIR;%/S/Inputs; llvm-svn: 221264
-
NAKAMURA Takumi authored
llvm-svn: 221263
-
NAKAMURA Takumi authored
llvm/test/Transforms/GCOVProfiling/linezero.ll: Use %/T instead of %T in regex. This works on win32. llvm-svn: 221262
-
NAKAMURA Takumi authored
llvm-svn: 221261
-
Rafael Espindola authored
llvm-svn: 221260
-
Daniel Jasper authored
Slightly easier to write, more efficient and prevents bugs by misspelling them. No functional changes intended. llvm-svn: 221259
-
Rafael Espindola authored
llvm-svn: 221258
-
Rafael Espindola authored
llvm-svn: 221257
-
Daniel Jasper authored
Before: @SomeAnnotation() abstract class aaaaaaaaa<a> extends bbbbbbbbbbbb<b> implements cccccccccccc { } After: @SomeAnnotation() abstract class aaaaaaaaa<a> extends bbbbbbbbbbbb<b> implements cccccccccccc { } llvm-svn: 221256 -
Daniel Jasper authored
llvm-svn: 221254
-
Yaron Keren authored
llvm-svn: 221252
-
Tobias Grosser authored
When our RuntimeDebugBuilder calles fflush(NULL) to flush all output streams, it is important that the types we use in the call match the ones used in a declaration of fflush possible already available in the translation unit. As we just pass on a NULL pointer, the type of the pointer value does not really matter. However, as LLVM complains in case of mismatched types, we make sure to create a NULL pointer of identical type. No test case, as RuntimeDebugBuilder is not permanently used in Polly. Calls to it are until now only used to add informative output during debugging sessions. llvm-svn: 221251
-
Charlie Turner authored
test/MC/ARM/directive-eabi_attribute.s was missing several tests of object file encodings relative to the existing tests for assembly file encodings. This commit adds the missing tests. Change-Id: Ie110ca02b65e8f4d4c77f437bd09d03607fa5c0d llvm-svn: 221250
-
David Majnemer authored
No functional change intended. This fixes PR21463. llvm-svn: 221249
-
Alexander Kornienko authored
Summary: Handle -extra-arg and -extra-arg-before options in the CommonOptionsProvider so they can be used in all clang tools. Adjust arguments in a CompilationDatabase wrapper instead of adding ArgumentsAdjuster to the tool. Reviewers: djasper, klimek Reviewed By: klimek Subscribers: klimek, cfe-commits Differential Revision: http://reviews.llvm.org/D6073 llvm-svn: 221248
-
David Majnemer authored
DiceTableEntry is 24 bytes on my machine, it's probably better to pass them by reference. This fixes PR21464. llvm-svn: 221247
-
NAKAMURA Takumi authored
sys::findProgramByName(): [Win32] Tweak to pass lowercase .exe to SearchPath() to appease clang Driver's tests. It seems SearchPath() doesn't show actual extension on the filesystem. FIXME: Shall we use FindFirstFile() here? llvm-svn: 221246
-
David Majnemer authored
This is experimental, just barely enough to get things to not immediately combust. A note for those who are curious: Only lld can successfully link the object files, other linkers truncate the section names making the debug sections illegible to debuggers. Even with this in mind, we believe we are having trouble with SECREL relocations. llvm-svn: 221245
-
Yaron Keren authored
1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\minwinbase.h(46): error C2146: syntax error : missing ';' before identifier 'nLength' 1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\minwinbase.h(46): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int ... including <windows.h> is actually required. llvm-svn: 221244
-
David Majnemer authored
r221137 feeds None into os.path.join which is not valid. llvm-svn: 221242
-
Jason Molenda authored
a nop). Fixes an instruction stepping problem when trying to step over the final instructions of an epilogue. <rdar://problem/18068877> llvm-svn: 221241
-