- Jan 26, 2012
-
-
Alexander Potapenko authored
These should fix the output tests on Mac. llvm-svn: 149068
-
Douglas Gregor authored
Objective-C class. The AST reader just throws away this data anyway! llvm-svn: 149067
-
Douglas Gregor authored
llvm-svn: 149066
-
Fariborz Jahanian authored
made symmetrical. // rdar://10734265 llvm-svn: 149065
-
Alexander Potapenko authored
More Linux-like output on Mac (to match more output tests). llvm-svn: 149064
-
Alexander Potapenko authored
Fix a bug in AsanProcMaps on Mac: on 64 bits the program was trying to read twice as many segment load commands as the binary actually contained. llvm-svn: 149063
-
Jim Grosbach authored
llvm-svn: 149062
-
Gabor Greif authored
llvm-svn: 149060
-
NAKAMURA Takumi authored
AST/ExprConstant.cpp: Silence a warning on ms cl.exe. "bool" does not prefer to be compared to integer. llvm-svn: 149059
-
Chandler Carruth authored
end up in the same output file as the layout stuff. There may even be a race condition which is causing this output to confuse the FileCheck in some cases. I actually don't know how on earth the parsing of the layout file even works given that there are diagnostics in the middle of it. ;] llvm-svn: 149058
-
James Molloy authored
Add support for the R_ARM_TARGET1 relocation, which should be given to relocations applied to all C++ constructors and destructors. This enables the linker to match concrete relocation types (absolute or relative) with whatever library or C++ support code is being linked against. llvm-svn: 149057
-
Victor Umansky authored
. "fptosi" and "fptoui" IR instructions are defined with round-to-zero rounding mode. . Currently for AVX mode for <4xdouble> and <8xdouble> the "VCVTPD2DQ.128" and "VCVTPD2DQ.256" instructions are selected (for .fp_to_sint. DAG node operation ) by AVX codegen. However they use round-to-nearest-even rounding mode. . Consequently, the conversion produces incorrect numbers. The fix is to replace selection of VCVTPD2DQ instructions with VCVTTPD2DQ instructions. The latter use truncate (i.e. round-to-zero) rounding mode. As .fp_to_sint. DAG node operation is used only for lowering of "fptosi" and "fptoui" IR instructions, the fix in X86InstrSSE.td definition file doesn.t have an impact on other LLVM flows. The patch includes changes in the .td file, LIT test for the changes and a fix in a legacy LIT test (which produced asm code conflicting with LLVN IR spec). llvm-svn: 149056
-
Douglas Gregor authored
provide the layout of records, rather than letting Clang compute the layout itself. LLDB provides the motivation for this feature: because various layout-altering attributes (packed, aligned, etc.) don't get reliably get placed into DWARF, the record layouts computed by LLDB from the reconstructed records differ from the actual layouts, and badness occurs. This interface lets the DWARF data drive layout, so we don't need the attributes preserved to get the answer write. The testing methodology for this change is fun. I've introduced a variant of -fdump-record-layouts called -fdump-record-layouts-simple that always has the simple C format and provides size/alignment/field offsets. There is also a -cc1 option -foverride-record-layout=<file> to take the output of -fdump-record-layouts-simple and parse it to produce a set of overridden layouts, which is introduced into the AST via a testing-only ExternalASTSource (called LayoutOverrideSource). Each test contains a number of records to lay out, which use various layout-changing attributes, and then dumps the layouts. We then run the test again, using the preprocessor to eliminate the layout-changing attributes entirely (which would give us different layouts for the records), but supplying the previously-computed record layouts. Finally, we diff the layouts produced from the two runs to be sure that they are identical. Note that this code makes the assumption that we don't *have* to provide the offsets of bases or virtual bases to get the layout right, because the alignment attributes don't affect it. I believe this assumption holds, but if it does not, we can extend LayoutOverrideSource to also provide base offset information. Fixes the Clang side of <rdar://problem/10169539>. llvm-svn: 149055
-
Craig Topper authored
llvm-svn: 149054
-
Craig Topper authored
llvm-svn: 149053
-
Craig Topper authored
llvm-svn: 149052
-
Eric Christopher authored
llvm-svn: 149051
-
Eric Christopher authored
gdb's tests are too dependent upon order in debug info. llvm-svn: 149050
-
Eric Christopher authored
the gdb testsuite complains too much about the ordering of items printed, even if the offsets in the debug info are correct. This reverts commit 027cb30af828f07750f9185782822297a5c57231. llvm-svn: 149049
-
Bob Wilson authored
I'm not adding a testcase because -ccc-host-triple is slated to be removed, but clang crashes if you try to use -ccc-host-triple without this fix. llvm-svn: 149048
-
Eric Christopher authored
llvm-svn: 149047
-
Greg Clayton authored
and showed a work around for when this won't. llvm-svn: 149046
-
Richard Smith authored
llvm-svn: 149045
-
Argyrios Kyrtzidis authored
llvm-svn: 149044
-
Argyrios Kyrtzidis authored
with close(); return it instead. Fixes mingw build and eliminates possible racing issues. llvm-svn: 149043
-
Anna Zaks authored
llvm-svn: 149042
-
NAKAMURA Takumi authored
llvm-svn: 149041
-
Bob Wilson authored
Revert r148249: "Make the auto-detection hack for the iOS simulator set the target triple correctly." There were some problems with this, so I'm backing it out for now. llvm-svn: 149040
-
Peter Collingbourne authored
canonical type directly and adding a fast path for the common case that the type is directly a RecordType. llvm-svn: 149039
-
Peter Collingbourne authored
llvm-svn: 149038
-
Peter Collingbourne authored
by default, rather than whether they may be built at all. llvm-svn: 149037
-
Peter Collingbourne authored
around, in the process cleaning up the various gcc/msvc compiler workarounds. llvm-svn: 149036
-
Douglas Gregor authored
llvm-svn: 149035
-
Eli Friedman authored
llvm-svn: 149034
-
Chris Lattner authored
llvm-svn: 149033
-
Ted Kremenek authored
llvm-svn: 149032
-
Eli Friedman authored
Refactor to share code for handling return statements between lambda expressions and block literals. As it turns out, almost all the logic can be shared. llvm-svn: 149031
-
Greg Clayton authored
When this is imported into your lldb using the "command script import /path/to/gdbremote.py" these new commands are available within LLDB. 'start_gdb_log' will enable logging with timestamps for GDB remote packets, and 'stop_gdb_log' will then dump the details and also a lot of packet timing data. This allows us to accurately track what packets are taking up the most time when debugging (when using the ProcessGDBRemote debugging plug-in). Also udpated the comments at the top of the cmdtemplate.py to show how to correctly import the module from within LLDB. llvm-svn: 149030
-
Chris Lattner authored
llvm-svn: 149029
-
Chris Lattner authored
more robust) ways to do what it was doing now. Also, add static methods for decoding a ShuffleVector mask. llvm-svn: 149028
-