- Jul 23, 2013
-
-
Eli Bendersky authored
Run in two different modes: with and without reopening the temporary file between creating it and mapping it with MemoryBuffer. llvm-svn: 186986
-
Manman Ren authored
Use getNodeField to access a field as a MDNode. No functionality change. llvm-svn: 186985
-
Rafael Espindola authored
The main observation is that we never need both the filesize and the map size. When mapping a slice of a file, it doesn't make sense to request a null terminator and that would be the only case where the filesize would be used. There are other cleanups that should be done in this area: * A client should not have to pass the size (even an explicit -1) to say if it wants a null terminator or not, so we should probably swap the argument order. * The default should be to not require a null terminator. Very few clients require this, but many end up asking for it just because it is the default. llvm-svn: 186984
-
Rafael Espindola authored
llvm-svn: 186983
-
Aaron Ballman authored
Removing a number of individual run lines and replacing them with single line test cases. This reduces the number of test runs, provides the same coverage, and allows us to test that the attribute names are included in the diagnostic. llvm-svn: 186982
-
Fariborz Jahanian authored
which are candidate for migrating to 'instancetype'. wip. llvm-svn: 186981
-
Aaron Ballman authored
Added the attribute name to the err_attribute_wrong_number_arguments diagnostic for clarity; updated almost all of the affected test cases. Thanks to Fariborz Jahanian for the suggestion! llvm-svn: 186980
-
Ed Maste authored
llvm-svn: 186979
-
Rafael Espindola authored
The gold plugin was passing the desired map size as the file size. This was working for two reasons: * Recent version of gold provide the get_view callback, so this code was not used. * In older versions, getOpenFile was called, but the file size is never used if we don't require null terminated buffers and map size defaults to the file size. Thanks to Eli Bendersky for noticing this. I will try to make this api a bit less error prone. llvm-svn: 186978
-
Ed Maste authored
This change removes the final instances of compile-time #ifdef magic from the elf core plugin. Also rename the classes to ELFLinux... as they're specific to Linux. llvm-svn: 186977
-
Ed Maste authored
This avoids the use of the ELFPrStatus class, which returns to being used only for Linux. llvm-svn: 186976
-
Ed Maste authored
Extracting thread data at parse time simplifies multi-platform support. This change adds FreeBSD thread names and auxv info. Thanks to Samuel Jacob for review, testing, and improvements. llvm-svn: 186975
-
Enea Zaffanella authored
llvm-svn: 186974
-
Ed Maste authored
ELF notes contain a 'name' field, which specifies a vendor who defines the format of the note. Examples are 'FreeBSD' or 'GNU', or it may be empty for generic notes. Add a case for FreeBSD-specific notes, leaving Linux and GNU notes, other vendor-specific notes, and generic notes to be handled by the existing code for now. Thanks to Samuel Jacob for reviewing and suggesting improvements. llvm-svn: 186973
-
Manman Ren authored
llvm-svn: 186972
-
Richard Trieu authored
function-like macro. Clang will attempt to correct the arguments by detecting braced initializer lists: 1) If possible, suggest parentheses around arguments containing braced lists which will give the proper number of arguments. 2) If a braced list is detected at the start of a macro argument, it cannot be corrected by parentheses. Instead, just point out the location of these braced lists. llvm-svn: 186971
-
Rafael Espindola authored
llvm-svn: 186970
-
Ahmed Bougacha authored
This reverts commit r185676. Originally done because of VS 2008. llvm-svn: 186969
-
Ahmed Bougacha authored
llvm-svn: 186968
-
Argyrios Kyrtzidis authored
Patch by Che-Liang Chiou! llvm-svn: 186967
-
Aaron Ballman authored
llvm-svn: 186966
-
Ahmed Bougacha authored
Remove trailing ')'. Sorry about all that, should be good now! llvm-svn: 186965
-
Stefanus Du Toit authored
-C usually specifies a script to prepopulate the CMake cache. In this case no script is specified, so CMake appears to just ignore it. So don't mention it in the first place - it's not desired anyways. Reviewed by: Daniel Malea llvm-svn: 186964
-
Ahmed Bougacha authored
llvm-svn: 186963
-
Hans Wennborg authored
It was fixed by r186603. llvm-svn: 186962
-
Ahmed Bougacha authored
llvm-svn: 186961
-
Rui Ueyama authored
llvm-svn: 186960
-
Ashok Thirumurthi authored
because a synthetic symbol hasn't been provided for stripped function symbols. llvm-svn: 186959
-
Stefanus Du Toit authored
Reviewed by: Daniel Malea llvm-svn: 186958
-
Rui Ueyama authored
llvm-svn: 186957
-
Marshall Clow authored
llvm-svn: 186956
-
Benjamin Kramer authored
llvm-svn: 186955
-
Howard Hinnant authored
Bill Fisher: This patch fixes a bug where std::regex in ECMAScript mode was ignoring capture groups inside lookahead assertions. For example, matching /(?=(a))(a)/ to "a" should yield two captures: \1 = "a", \2 = "a" llvm-svn: 186954
-
Jordan Rose authored
...and hopefully, finally, unbreak buildbots. llvm-svn: 186953
-
Howard Hinnant authored
llvm-svn: 186951
-
Jordan Rose authored
This plus Rafael's fix at r186943 should keep all the buildbots happy. llvm-svn: 186950
-
Rafael Espindola authored
llvm-svn: 186949
-
Ariel J. Bernal authored
It seems that doxygen fails to find overloaded methods when the parameters are not in sync with the method declaration. Added the fully-qualifed type to the parameters method definition although it's not necessary since the using directive is in effect. llvm-svn: 186948
-
Aaron Ballman authored
llvm-svn: 186947
-
Rafael Espindola authored
Sorry about forgetting to include this in the previous patch. llvm-svn: 186946
-