| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
crawl.
This is accomplished by forcing the needed expressions for -Wuninitialized to always be CFGElements in the CFG.
This allows us to remove a fair amount of the code for -Wuninitialized.
Some fallout:
- AnalysisBasedWarnings.cpp now specifically toggles the CFGBuilder to create a CFG that is suitable for -Wuninitialized. This
is a layering violation, since the logic for -Wuninitialized is in libAnalysis. This can be fixed with the proper refactoring.
- Some of the source locations for -Wunreachable-code warnings have shifted. While not ideal, this is okay because that analysis
already needs some serious reworking.
llvm-svn: 135480
|
| |
|
|
|
|
| |
CFGElements.
llvm-svn: 135479
|
| |
|
|
| |
llvm-svn: 135478
|
| |
|
|
| |
llvm-svn: 135477
|
| |
|
|
| |
llvm-svn: 135476
|
| |
|
|
| |
llvm-svn: 135475
|
| |
|
|
| |
llvm-svn: 135474
|
| |
|
|
| |
llvm-svn: 135473
|
| |
|
|
|
|
| |
to perform a signed wrap. Don't rely on any particular handling of that case.
llvm-svn: 135471
|
| |
|
|
| |
llvm-svn: 135469
|
| |
|
|
|
|
|
| |
(including compilation, assembly). Move relocation model Reloc::Model from
TargetMachine to MCCodeGenInfo so it's accessible even without TargetMachine.
llvm-svn: 135468
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
an executable file if it is right next to a dSYM file that is found using
DebugSymbols. The code also looks into a bundle if the dSYM file is right
next to a bundle.
Modified the MacOSX kernel dynamic loader plug-in to correctly set the load
address for kext sections. This is a tad tricky because of how LLDB chooses
to treat mach-o segments with no name. Also modified the loader to properly
handle the older version 1 kext summary info.
Fixed a crasher in the Mach-o object file parser when it is trying to set
the section size correctly for dSYM sections.
Added packet dumpers to the CommunicationKDP class. We now also properly
detect address byte sizes based on the cpu type and subtype that is provided.
Added a read memory and read register support to CommunicationKDP. Added a
ThreadKDP class that now uses subclasses of the RegisterContextDarwin_XXX for
arm, i386 and x86_64.
Fixed some register numbering issues in the RegisterContextDarwin_arm class
and added ARM GDB numbers to the ARM_GCC_Registers.h file.
Change the RegisterContextMach_XXX classes over to subclassing their
RegisterContextDarwin_XXX counterparts so we can share the mach register
contexts between the user and kernel plug-ins.
llvm-svn: 135466
|
| |
|
|
|
|
|
| |
ExpandISelPseudos::runOnMachineFunction does not visit instructions that have
just been added.
llvm-svn: 135465
|
| |
|
|
| |
llvm-svn: 135464
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the variables display
The "systemwide summaries" feature has been removed and replaced with a more general and
powerful mechanism.
Categories:
- summaries can now be grouped into buckets, called "categories" (it is expected that categories
correspond to libraries and/or runtime environments)
- to add a summary to a category, you can use the -w option to type summary add and give
a category name (e.g. type summary add -f "foo" foo_t -w foo_category)
- categories are by default disabled, which means LLDB will not look into them for summaries,
to enable a category use "type category enable". once a category is enabled, LLDB will
look into that category for summaries. the rules are quite trivial: every enabled category
is searched for an exact match. if an exact match is nowhere to be found, any match is
searched for in every enabled category (whether it involves cascading, going to base classes,
...). categories are searched into the order in which they were enabled (the most recently
enabled category first, then the second most and so on..)
- by default, most commands that deal with summaries, use a category named "default" if no
explicit -w parameter is given (the observable behavior of LLDB should not change when
categories are not explicitly used)
- the systemwide summaries are now part of a "system" category
llvm-svn: 135463
|
| |
|
|
|
|
| |
might have some minor effect on CellSPU, but all other targets should be unaffected. Fixing per report from Damien Vincent on llvmdev.
llvm-svn: 135462
|
| |
|
|
|
|
|
|
|
| |
status' before
invoking the Read(...) method to read in bytes. This seems to fix the infinite looping
I was seeing on SnowLeopard while running the test suite.
llvm-svn: 135461
|
| |
|
|
| |
llvm-svn: 135460
|
| |
|
|
| |
llvm-svn: 135459
|
| |
|
|
| |
llvm-svn: 135458
|
| |
|
|
|
|
| |
dwarf writer to easily distinguish between two instances of a inlined variable in one basic block.
llvm-svn: 135457
|
| |
|
|
| |
llvm-svn: 135456
|
| |
|
|
|
|
|
| |
WCHAR_MAX in limits.h, thus solving the problem where the system header
thinks it knows better.
llvm-svn: 135455
|
| |
|
|
| |
llvm-svn: 135454
|
| |
|
|
| |
llvm-svn: 135453
|
| |
|
|
|
|
| |
emit.
llvm-svn: 135452
|
| |
|
|
| |
llvm-svn: 135451
|
| |
|
|
| |
llvm-svn: 135450
|
| |
|
|
| |
llvm-svn: 135449
|
| |
|
|
| |
llvm-svn: 135448
|
| |
|
|
|
|
|
| |
wasn't being initialized by the enhanced disassembler,
leading to assertion failures.
llvm-svn: 135447
|
| |
|
|
| |
llvm-svn: 135446
|
| |
|
|
|
|
|
| |
between C++03 and C++0x and its effect on exceptions, and another two to
not test move construction when rvalue references are not available.
llvm-svn: 135445
|
| |
|
|
|
|
| |
hard-coded names.
llvm-svn: 135444
|
| |
|
|
|
|
| |
library.
llvm-svn: 135443
|
| |
|
|
|
|
| |
multiple instructions with the same encoding. This resolves another conflict when bringing up the new-style disassembler.
llvm-svn: 135442
|
| |
|
|
| |
llvm-svn: 135441
|
| |
|
|
| |
llvm-svn: 135440
|
| |
|
|
|
|
| |
use of TargetFrameLowering in TargetAsmInfo.
llvm-svn: 135439
|
| |
|
|
|
|
| |
better location welcome).
llvm-svn: 135438
|
| |
|
|
| |
llvm-svn: 135437
|
| |
|
|
| |
llvm-svn: 135436
|
| |
|
|
|
|
| |
decoding conflicts in the new-style disassembler.
llvm-svn: 135434
|
| |
|
|
| |
llvm-svn: 135432
|
| |
|
|
|
|
|
|
|
| |
ambiguity
errors like the one corrected by r135261. Migrate all LLVM callers of the old
constructor to the new one.
llvm-svn: 135431
|
| |
|
|
|
|
| |
SBBreakpointLocation.
llvm-svn: 135430
|
| |
|
|
|
|
| |
Cabecinhas.
llvm-svn: 135429
|
| |
|
|
|
|
| |
Reported by: Chad Rosier <mcrosier@apple.com>
llvm-svn: 135428
|
| |
|
|
| |
llvm-svn: 135427
|
| |
|
|
| |
llvm-svn: 135426
|