| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
rdar://10550084
llvm-svn: 146170
|
| |
|
|
| |
llvm-svn: 146169
|
| |
|
|
|
|
|
|
| |
clients to decide whether to look inside bundled instructions and whether
the query should return true if any / all bundled instructions have the
queried property.
llvm-svn: 146168
|
| |
|
|
| |
llvm-svn: 146167
|
| |
|
|
|
|
| |
by glider@google.com
llvm-svn: 146166
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
umbrella headers in the sense that all of the headers within that
directory (and eventually its subdirectories) are considered to be
part of the module with that umbrella directory. However, unlike
umbrella headers, which are expected to include all of the headers
within their subdirectories, Clang will automatically include all of
the headers it finds in the named subdirectory.
The intent here is to allow a module map to trivially turn a
subdirectory into a module, where the module's structure can mimic the
directory structure.
llvm-svn: 146165
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
pointer to make the result of an expression. LLDB now
dumps the ivars of the Objective-C object and all of
its parents. This just required fixing a bug where we
didn't distinguish between Objective-C object pointers
and regular C-style pointers.
Also added a testcase to verify that this continues to
work.
llvm-svn: 146164
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
led to the following code in X86Subtarget.cpp
if (HasAVX)
X86SSELevel = NoMMXSSE;
This is so patterns that are predicated on hasSSE3, etc. would not be selected when avx is available. Instead, the AVX variant is selected.
However, this breaks instructions which do not have AVX variants.
The right way to fix this is for the SSE but not-AVX patterns to predicate on something like hasSSE3() && !hasAVX().
Then we can take out the hack in X86Subtarget.cpp. Patterns which do not have AVX variants do not need to change.
However, we need to audit all the patterns before we make the change. This patch is workaround that fixes one specific case,
the prefetch instructions. rdar://10538297
llvm-svn: 146163
|
| |
|
|
|
|
| |
for asan-rt (affects only linux)
llvm-svn: 146162
|
| |
|
|
|
|
| |
need config options in all makefiles)
llvm-svn: 146161
|
| |
|
|
| |
llvm-svn: 146160
|
| |
|
|
|
|
|
|
|
|
|
| |
a modifier for a header declarartion, e.g.,
umbrella header "headername"
Collapse the umbrella-handling code in the parser into the
header-handling code, so we don't duplicate the header-search logic.
llvm-svn: 146159
|
| |
|
|
|
|
|
|
|
|
| |
header to also support umbrella directories. The umbrella directory
for an umbrella header is the directory in which the umbrella header
resides.
No functionality change yet, but it's coming.
llvm-svn: 146158
|
| |
|
|
|
|
|
| |
sqrt/exp (fix for FSQRT, FSIN, FCOS, FPOWI, FPOW, FLOG, FLOG2, FLOG10, FEXP,
FEXP2).", it is failing tests.
llvm-svn: 146157
|
| |
|
|
|
|
|
| |
that's currently being built. This is important for supporting
transitive dependencies ("export *" in the module map) completely.
llvm-svn: 146156
|
| |
|
|
| |
llvm-svn: 146155
|
| |
|
|
|
|
| |
directory_iterator for them.
llvm-svn: 146154
|
| |
|
|
|
|
|
|
|
|
| |
they are treated as errors.
Doing typo correction when these are just warnings slows down the
compilation of source which deliberately uses implicit function
declarations.
llvm-svn: 146153
|
| |
|
|
| |
llvm-svn: 146152
|
| |
|
|
|
|
| |
and fix the encoding.
llvm-svn: 146151
|
| |
|
|
|
|
|
| |
We must not issue a bitcast operation for integer-promotion of vector types, because the
location of the values in the vector may be different.
llvm-svn: 146150
|
| |
|
|
| |
llvm-svn: 146149
|
| |
|
|
| |
llvm-svn: 146148
|
| |
|
|
| |
llvm-svn: 146147
|
| |
|
|
| |
llvm-svn: 146146
|
| |
|
|
| |
llvm-svn: 146145
|
| |
|
|
|
|
|
|
| |
between the casted type of the return value of a malloc/calloc/realloc
call and the operand of any sizeof expressions contained within
its argument(s).
llvm-svn: 146144
|
| |
|
|
|
|
| |
for FSQRT, FSIN, FCOS, FPOWI, FPOW, FLOG, FLOG2, FLOG10, FEXP, FEXP2).
llvm-svn: 146143
|
| |
|
|
| |
llvm-svn: 146142
|
| |
|
|
|
|
|
|
| |
that is in a class from the expression parser, and it was causing an
assertion. There is now a function that will correctly resolve a type
even if it is in a class.
llvm-svn: 146141
|
| |
|
|
|
|
| |
that have it in /usr/include (only OS X Lion so far).
llvm-svn: 146140
|
| |
|
|
| |
llvm-svn: 146138
|
| |
|
|
|
|
| |
(another find by -verify-machineinstrs)
llvm-svn: 146137
|
| |
|
|
| |
llvm-svn: 146136
|
| |
|
|
|
|
| |
Fixed detection of AVX on darwin now that our kernel supports it.
llvm-svn: 146135
|
| |
|
|
|
|
| |
<rdar://problem/10535460> lldb expression evaluation doesn't handle bit fields in ObjC classes properly
llvm-svn: 146134
|
| |
|
|
|
|
| |
variables that might not have valid names.
llvm-svn: 146133
|
| |
|
|
|
|
|
|
| |
stub SDK.
- This allows us to build both the m32 and m64 variants without worrying about
whether or not the user has the headers for the alternate arch installed.
llvm-svn: 146132
|
| |
|
|
|
|
| |
the main compiler-rt and profile modules, at least on x86.
llvm-svn: 146131
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
take a SymbolFile reference and a lldb::user_id_t and be used in objects
which represent things in debug symbols that have types where we don't need
to know the true type yet, such as in lldb_private::Variable objects. This
allows us to defer resolving the type until something is used. More specifically
this allows us to get 1000 local variables from the current function, and if
the user types "frame variable argc", we end up _only_ resolving the type for
"argc" and not for the 999 other local variables. We can expand the use of this
as needed in the future.
Modified the DWARFMappedHash class to be able to read the HashData that has
more than just the DIE offset. It currently will read the atoms in the header
definition and read the data correctly. Currently only the DIE offset and
type flags are supported. This is needed for adding type flags to the
.apple_types hash accelerator tables.
Fixed a assertion crash that would happen if we have a variable that had a
DW_AT_const_value instead of a location where "location.LocationContains_DW_OP_addr()"
would end up asserting when it tried to parse the variable location as a
DWARF opcode list.
Decreased the amount of memory that LLDB would use when evaluating an expression
by 3x - 4x for clang. There was a place in the namespace lookup code that was
parsing all namespaces with a certain name in a DWARF file instead of stopping
when it found the first match. This was causing all of the compile units with
a matching namespace to get parsed into memory and causing unnecessary memory
bloat.
Improved "Target::EvaluateExpression(...)" to not try and find a variable
when the expression contains characters that would certainly cause an expression
to need to be evaluated by the debugger.
llvm-svn: 146130
|
| |
|
|
|
|
|
|
|
|
| |
for now to fix testcases. Once we have a valid use
for the function information (i.e., once properties
returning UnknownAnyTy are allowed, once we read
return type information from the runtime, among
other uses) I will re-enable this.
llvm-svn: 146129
|
| |
|
|
|
|
| |
class scoping in DumpDBGState()'s definiton.
llvm-svn: 146128
|
| |
|
|
|
|
|
|
| |
if we come up against a null Decl.
No test case unfortunately. rdar://10457799.
llvm-svn: 146127
|
| |
|
|
| |
llvm-svn: 146126
|
| |
|
|
| |
llvm-svn: 146125
|
| |
|
|
|
|
|
|
|
|
| |
It is not used any more. We are tracking inline assembly misalignments
directly through the BBInfo.Unalign and KnownBits fields.
A simple conservative size estimate is not good enough since it can
cause alignment padding to be underestimated.
llvm-svn: 146124
|
| |
|
|
| |
llvm-svn: 146123
|
| |
|
|
| |
llvm-svn: 146122
|
| |
|
|
| |
llvm-svn: 146121
|
| |
|
|
| |
llvm-svn: 146120
|