Eric Christopher
0a917b7ad4
Initialize variable.
...
llvm-svn: 144360
2011-11-11 03:16:32 +00:00
Greg Clayton
95d87908f9
Added report errors for when the .apple_XXXX hashed name table lookups contain
...
invalid information. This will help us perfect the tables that are emitted by
clang.
llvm-svn: 144359
2011-11-11 03:16:25 +00:00
Eli Friedman
7771c835cd
Add Linux multiarch include directories for mips/mipsel. Patch from Simon Atanasyan.
...
llvm-svn: 144358
2011-11-11 03:05:19 +00:00
NAKAMURA Takumi
aacef7ea3c
include/clang-c/Index.h: Update CINDEX_LINKAGE on 6 decls. Corresponds to libclang.exports in r144343
...
llvm-svn: 144357
2011-11-11 02:51:09 +00:00
Chad Rosier
023ede5649
When loading a value, treat an i1 as an i8.
...
llvm-svn: 144356
2011-11-11 02:38:59 +00:00
Eli Friedman
4f64e1819b
Make sure that restrict-qualifying an array actually adds a restrict qualifier. PR11354. (operator bool() is evil!)
...
llvm-svn: 144355
2011-11-11 02:00:42 +00:00
Eric Christopher
c12c211c44
If we have a DIE with an AT_specification use that instead of the normal
...
addr DIE when adding to the dwarf accelerator tables.
llvm-svn: 144354
2011-11-11 01:55:22 +00:00
Greg Clayton
b2469060de
Allow the Apple hash tables to be emtpy.
...
llvm-svn: 144353
2011-11-11 01:21:03 +00:00
Eli Friedman
0a309292c4
Get rid of an optimization in SCCP which appears to have many issues. Specifically, it doesn't handle many cases involving undef correctly, and it is missing other checks which
...
lead to it trying to re-mark a value marked as a constant with a different value. It also appears to trigger very rarely.
Fixes PR11357.
llvm-svn: 144352
2011-11-11 01:16:15 +00:00
Bill Wendling
70976ad9c2
Reenable compact unwinding now that <rdar://problem/10430076> is fixed.
...
llvm-svn: 144351
2011-11-11 01:03:50 +00:00
Bill Wendling
8df8204554
If we have to reset the calculation of the compact encoding, then also reset the
...
"saved register" index.
<rdar://problem/10430076>
llvm-svn: 144350
2011-11-11 00:59:14 +00:00
Ted Kremenek
a0e32fc8b6
[serialized diagnostics]: add test cases for serialized diagnostics, including a test case for no issues, multiple issues, and
...
a single issue. Along the way, tweak c-index-test -read-diagnostics output so it is easier to tell what diagnostics are
child diagnostics.
llvm-svn: 144349
2011-11-11 00:46:43 +00:00
Chad Rosier
2a3503e061
Add support for using MVN to materialize negative constants.
...
rdar://10412592
llvm-svn: 144348
2011-11-11 00:36:21 +00:00
Douglas Gregor
197ac203af
I predict that HeaderSearch will need the ability to generate
...
diagnostics in the future. Make it so.
llvm-svn: 144347
2011-11-11 00:35:06 +00:00
Bill Wendling
f311655e3f
Disable compact unwind generation until I can solve the codegen problems.
...
llvm-svn: 144346
2011-11-11 00:28:42 +00:00
Daniel Dunbar
f258ad81c0
llvm-build: Add --configure-target-def-file option.
...
- Can be used to generate the substitution values we currently use for the various target related .def files.
llvm-svn: 144345
2011-11-11 00:24:00 +00:00
Daniel Dunbar
6d617b48c7
LLVMBuild: Add explicit information on whether targets define an assembly printer, assembly parser, or disassembler.
...
llvm-svn: 144344
2011-11-11 00:23:56 +00:00
Argyrios Kyrtzidis
7519c5e440
[libclang] Simplify the indexing API.
...
Cut down the number of callbacks to more generic ones. Clients can check
an enum to find out what kind of declaration it is and they can call functions
to get more specific information than the generic provided info.
llvm-svn: 144343
2011-11-11 00:23:36 +00:00
Argyrios Kyrtzidis
85b075b845
Add a const version of ObjCClassDecl::getForwardDecl, no functionality change.
...
llvm-svn: 144342
2011-11-11 00:23:31 +00:00
Francois Pichet
f707ae6733
Move "Unqualified lookup into dependent bases of class templates" Microsoft specific behavior from -fms-extensions to -fms-compatibility.
...
llvm-svn: 144341
2011-11-11 00:12:11 +00:00
Ted Kremenek
61fb647fb4
[static analyzer] be more specific when running removeDeadBindings. Instead of seeing if the predecessor node was a non-StmtPoint, check if it is specifically a BlockEntrance node.
...
llvm-svn: 144340
2011-11-11 00:10:55 +00:00
Ted Kremenek
e73d9ed1a2
Add top-level driver option '--serialize-diagnostics' for serialize compiler diagnostics to a file.
...
llvm-svn: 144339
2011-11-11 00:07:43 +00:00
Jim Grosbach
d9a9be269c
Thumb2 ldm/stm updating w/ one register in the list are LDR/STR.
...
rdar://10429490
llvm-svn: 144338
2011-11-10 23:58:34 +00:00
Jim Grosbach
afad053141
ARM let processInstruction() tranforms chain.
...
llvm-svn: 144337
2011-11-10 23:42:14 +00:00
Nicolas Geoffray
5e515797b6
Add blurb for VMKit.
...
llvm-svn: 144336
2011-11-10 23:37:56 +00:00
Daniel Dunbar
a2193ab418
build/Make: llvm-config-2 needs to use EXEEXT, since it is an actual executable
...
now.
llvm-svn: 144335
2011-11-10 23:33:20 +00:00
Daniel Dunbar
eb3179e57a
Fix typo.
...
llvm-svn: 144334
2011-11-10 23:33:18 +00:00
Richard Smith
4a905b6799
Implicit casts from rvalue to lvalue are not meaningful. Don't accidentally add
...
them when performing a const conversion on the implicit object argument for a
member operator call on an rvalue.
No change to the testsuite: the test for this change is that the added
assertion does not fire any more.
llvm-svn: 144333
2011-11-10 23:32:36 +00:00
Ted Kremenek
20be0b4397
[static analyzer]: only call RemoveDeadBindings() when analyzing non-Expr stmts, entering a basic block, or analyzing non-consumed expressions. This sigificantly speeds up analysis time, and reduces analysis time down to 27% less than before we linearized the CFG.
...
llvm-svn: 144332
2011-11-10 23:26:10 +00:00
Jim Grosbach
9bded9dc24
Thumb2 parsing for push/pop w/ hi registers in the reglist.
...
rdar://10130228.
llvm-svn: 144331
2011-11-10 23:17:11 +00:00
Jason Molenda
ef5f6a2391
Fix order of arguments for target stop-hook list/delete. Having
...
the argument description in the command name could cause a command
alias to crash, e.g.
command alias zzz target stop-hook delete 1
because the "name" is used to re-fetch the exact CommandObject when
adding the final arg.
<rdar://problem/10423753>
llvm-svn: 144330
2011-11-10 23:03:44 +00:00
Jim Grosbach
a113eb0205
Thumb1 diagnostics for reglist on PUSH/POP fix.
...
Was not checking the first register in the register list.
llvm-svn: 144329
2011-11-10 23:01:27 +00:00
Daniel Dunbar
105c7edf7c
git: Add tools/lldb to the ignore list.
...
llvm-svn: 144328
2011-11-10 22:55:50 +00:00
Jason Molenda
69c12ccb9f
Fix help strings that refer to the "commands" top-level noun.
...
It's "command", "commands" is not recognized.
llvm-svn: 144327
2011-11-10 22:43:35 +00:00
Rafael Espindola
79278365d3
Check in getOrCreateSubprogramDIE if a declaration exists and if so output
...
it first.
This is a more general fix to pr11300.
llvm-svn: 144324
2011-11-10 22:34:29 +00:00
Daniel Dunbar
86660ab0b0
build/Make: Try to switch over to llvm-config-2 again, now that I've cleaned up
...
some more of the explicit dependencies. I'm staging things more slowly this time
in case there is more unanticipated fallout.
llvm-svn: 144323
2011-11-10 22:11:04 +00:00
Jim Grosbach
5a5ce63742
Thumb MUL assembly parsing for 3-operand form.
...
Get the source register that isn't tied to the destination register correct,
even when the assembly source operand order is backwards.
rdar://10428630
llvm-svn: 144322
2011-11-10 22:10:12 +00:00
Daniel Dunbar
085f6f2af1
build/MBlazeDisassembler: Some compilers may generate an MBlaze disassembler
...
that depends on MBlazeCodeGen. This is a layering violation that should really
be fixed.
llvm-svn: 144321
2011-11-10 22:00:37 +00:00
Daniel Dunbar
b27317f7dd
build/MCDisassembler: Fix required libraries list of MCDisassembler to use
...
all-targets instead of an explicit list.
llvm-svn: 144320
2011-11-10 22:00:34 +00:00
Eric Christopher
66b37db641
Make types and namespaces take multiple DIEs for the accelerator tables
...
as well.
llvm-svn: 144319
2011-11-10 21:47:55 +00:00
Pete Cooper
9d6055133b
Add invariant.load metadata to loads from selector references. Allows these loads to later be moved/combined in the optimizer. Fixes <rdar://problem/6027699>
...
llvm-svn: 144318
2011-11-10 21:45:06 +00:00
Chris Lattner
9304ea4306
Remove a really ancient line from the default 'make clean' rule that attempts
...
to delete core files. This causes a warning in clang/lib/StaticAnalyzer on
case insensitive filesystems, since it contains a "Core" directory. Since this
is pointless anyway, just zap it.
llvm-svn: 144317
2011-11-10 21:12:28 +00:00
Chad Rosier
d1762e00e2
When in ARM mode, LDRH/STRH require special handling of negative offsets.
...
For correctness, disable this for now.
rdar://10418009
llvm-svn: 144316
2011-11-10 21:09:49 +00:00
Jim Grosbach
42ba6286b6
ARM .thumb_func directive for quoted symbol names.
...
Use the getIdentifier() method of the token, not getString(), otherwise
we keep the quotes as part of the symbol name, which we don't want.
rdar://10428015
llvm-svn: 144315
2011-11-10 20:48:53 +00:00
Tony Linthicum
3a9d77f4c1
test commit undo
...
llvm-svn: 144314
2011-11-10 20:39:51 +00:00
Tony Linthicum
1aff5b237b
test commit redux
...
llvm-svn: 144313
2011-11-10 20:23:28 +00:00
Pete Cooper
a4237c380e
Fixed bug in DeadStoreElimination commit r144239
...
Size of data being pointed to wasn't always being checked so some small writes were killing big writes
Fixes <rdar://problem/10426753>
llvm-svn: 144312
2011-11-10 20:22:08 +00:00
Chris Lattner
6d3eeec068
random notes, llvm-gcc is gone, fix a few broken tags.
...
llvm-svn: 144311
2011-11-10 20:15:40 +00:00
Eli Friedman
5ceb8aa23e
Add missing dependency for shared library build to CMakeLists. Patch by Johannes Obermayr.
...
llvm-svn: 144310
2011-11-10 20:07:09 +00:00
Daniel Dunbar
933b43f188
Revert r144300 "llvm-config: Replace with C++ version (was llvm-config-2).",
...
which didn't appear ready for prime time.
llvm-svn: 144309
2011-11-10 19:59:35 +00:00