Rafael Espindola [Tue, 11 Jun 2013 15:19:04 +0000 (15:19 +0000)]
Convert another use of sys::identifyFileType.
No functionality change.
llvm-svn: 183747
Rafael Espindola [Tue, 11 Jun 2013 15:09:43 +0000 (15:09 +0000)]
Convert another use of sys::identifyFileType.
No functionality change.
llvm-svn: 183746
Rafael Espindola [Tue, 11 Jun 2013 14:39:59 +0000 (14:39 +0000)]
Convert a use of sys::identifyFileType to sys::fs::identify_magic.
No functionality change.
llvm-svn: 183745
Benjamin Kramer [Tue, 11 Jun 2013 13:32:25 +0000 (13:32 +0000)]
R600: Make helper functions static.
llvm-svn: 183744
Rafael Espindola [Tue, 11 Jun 2013 13:18:13 +0000 (13:18 +0000)]
Require members of llvm.used to be named.
The effect of llvm.used is to introduce an invisible reference, so this seems
a reasonable restriction. It will be used to provide an easy ordering of
the entries in llvm.used.
llvm-svn: 183743
Benjamin Kramer [Tue, 11 Jun 2013 13:13:47 +0000 (13:13 +0000)]
Silence GCC warning.
llvm-svn: 183742
Benjamin Kramer [Tue, 11 Jun 2013 13:07:19 +0000 (13:07 +0000)]
ASTUnit: Invert the dependency of PrecompilePreambleAction on PrecompilePreambleConsumer.
Actions outlive consumers. PR16295. Found by AddressSanitizer.
llvm-svn: 183741
Rafael Espindola [Tue, 11 Jun 2013 12:36:05 +0000 (12:36 +0000)]
Factor duplicated yamlReader creation.
The yaml reader is not specific to any file format. This patch moves
it to TargetInfo and makes validate a non virtual interface so that it
can be constructed from a single location.
The same method will be used to create a reader for llvm bitcode
files.
llvm-svn: 183740
Manuel Klimek [Tue, 11 Jun 2013 12:00:24 +0000 (12:00 +0000)]
Make it possible to assign clang-format-buffer to a keybinding.
Patch by Chris Gray.
llvm-svn: 183739
Dmitry Vyukov [Tue, 11 Jun 2013 11:44:43 +0000 (11:44 +0000)]
tsan: add -Wno-maybe-uninitialized to Go build script
this is how the rest of the codebase is built
llvm-svn: 183738
NAKAMURA Takumi [Tue, 11 Jun 2013 10:01:42 +0000 (10:01 +0000)]
Rework r183728, suppress assert(0) for now. Its behavior depends on assertions on win32 hosts.
FIXME: Introduce yet another checker but assert(0).
llvm-svn: 183736
Sergey Matveev [Tue, 11 Jun 2013 09:52:02 +0000 (09:52 +0000)]
[lsan] Fix the unittest makefiles.
llvm-svn: 183735
Mihai Popa [Tue, 11 Jun 2013 09:48:35 +0000 (09:48 +0000)]
It adds support for negative zero offsets for loads and stores.
Negative zero is returned by the primary expression parser as INT32_MIN, so all that the method needs to do is to accept this value.
Behavior already present for Thumb2.
llvm-svn: 183734
Mihai Popa [Tue, 11 Jun 2013 09:39:51 +0000 (09:39 +0000)]
This patch adds support for FPINST/FPINST2 as operands to vmsr/vmrs. These are optional registers that may be supported some ARM implementations to aid with resolution of floating point exceptions. The manual pages for vmsr and vmrs do not detail their use. Encodings and other information can be found in ARM Architecture Reference Manual section F, chapter 6, paragraph 3.
llvm-svn: 183733
Alexey Samsonov [Tue, 11 Jun 2013 08:14:24 +0000 (08:14 +0000)]
[Sanitizer] add file forgotten in r183730
llvm-svn: 183732
Amaury de la Vieuville [Tue, 11 Jun 2013 08:14:14 +0000 (08:14 +0000)]
ARM: Enforce decoding rules for VLDn instructions
llvm-svn: 183731
Alexey Samsonov [Tue, 11 Jun 2013 08:13:36 +0000 (08:13 +0000)]
[Sanitizer] support running external llvm-symbolizer on Mac
llvm-svn: 183730
Amaury de la Vieuville [Tue, 11 Jun 2013 08:03:20 +0000 (08:03 +0000)]
ARM: Fix STREX/LDREX reecoding
The decoded MCInst wasn't reencoded as the same instruction
llvm-svn: 183729
NAKAMURA Takumi [Tue, 11 Jun 2013 06:52:58 +0000 (06:52 +0000)]
Tweak a couple of tests on win32 hosts with +Asserts.
- Don't use assert(0), or tests may pass or fail according to assertions.
- For now, The tests are marked as XFAIL for win32 hosts.
FIXME: Could we avoid XFAIL to specify triple in the RUN lines?
llvm-svn: 183728
NAKAMURA Takumi [Tue, 11 Jun 2013 06:52:43 +0000 (06:52 +0000)]
ARMAsmBackend.cpp: Use Triple::isOSBinFormatCOFF() instead of isOSWindows().
FYI, isOSBinFormatCOFF() is as same as isOSWindows(), on trunk.
llvm-svn: 183727
NAKAMURA Takumi [Tue, 11 Jun 2013 06:52:36 +0000 (06:52 +0000)]
Whitespace.
llvm-svn: 183726
David Majnemer [Tue, 11 Jun 2013 06:19:45 +0000 (06:19 +0000)]
Remove some unicode that sneaked in.
llvm-svn: 183725
Rui Ueyama [Tue, 11 Jun 2013 04:52:14 +0000 (04:52 +0000)]
[WinLink] Add -force command line option to allow undefined symbols.
llvm-svn: 183724
David Majnemer [Tue, 11 Jun 2013 03:56:29 +0000 (03:56 +0000)]
Implement DR61: Address of ambiguous bound methods should be disallowed
DR61 affirms that expressions containing unresolved member access should
be disallowed when performing "address of" operations.
llvm-svn: 183723
David Majnemer [Tue, 11 Jun 2013 03:51:23 +0000 (03:51 +0000)]
Implement DR85: Redeclaration of member is forbidden
Disallow the existence of a declaration of a member class that isn't a
forward declaration before it's definition.
llvm-svn: 183722
Richard Smith [Tue, 11 Jun 2013 02:41:00 +0000 (02:41 +0000)]
Rework IR emission for lifetime-extended temporaries. Instead of trying to walk
into the expression and dig out a single lifetime-extended entity and manually
pull its cleanup outside the expression, instead keep a list of the cleanups
which we'll need to emit when we get to the end of the full-expression. Also
emit those cleanups early, as EH-only cleanups, to cover the case that the
full-expression does not terminate normally. This allows IR generation to
properly model temporary lifetime when multiple temporaries are extended by the
same declaration.
We have a pre-existing bug where an exception thrown from a temporary's
destructor does not clean up lifetime-extended temporaries created in the same
expression and extended to automatic storage duration; that is not fixed by
this patch.
llvm-svn: 183721
Eli Friedman [Tue, 11 Jun 2013 01:59:28 +0000 (01:59 +0000)]
Fix a very silly mistake in r183590.
llvm-svn: 183720
Enrico Granata [Tue, 11 Jun 2013 01:26:35 +0000 (01:26 +0000)]
<rdar://problem/
12876503>
Adding a new setting interpreter.stop-command-source-on-error that dictates a default behavior for whether command source should stop upon hitting an error
You can still override the setting for each individual invocation with the usual -e setting
llvm-svn: 183719
Eli Friedman [Tue, 11 Jun 2013 01:08:22 +0000 (01:08 +0000)]
Fix a FIXME in a testcase about packed structs and calls I left around
while fixing a related bug. The fix here was simpler than I thought it
would be.
Fixes <rdar://problem/
10530444>.
llvm-svn: 183718
Argyrios Kyrtzidis [Tue, 11 Jun 2013 00:36:55 +0000 (00:36 +0000)]
[libclang] Allow building a precompiled preamble with compiler errors
A while ago we allowed libclang to build a PCH that had compiler errors; this was to retain the performance
afforded by a PCH even if the user's code is in an intermediate state.
Extend this for the precompiled preamble as well.
rdar://
14109828
llvm-svn: 183717
Enrico Granata [Tue, 11 Jun 2013 00:18:18 +0000 (00:18 +0000)]
<rdar://problem/
12783351>
Add support for half-floats, as specified by IEEE-754-2008
With this checkin, you can now say:
(lldb) x/7hf foo
to read 7 half-floats at address foo
llvm-svn: 183716
Sean Silva [Tue, 11 Jun 2013 00:13:52 +0000 (00:13 +0000)]
Fix dubious type name similar to member name.
Should bring bots back to life.
llvm-svn: 183715
Fariborz Jahanian [Tue, 11 Jun 2013 00:08:48 +0000 (00:08 +0000)]
Remove mis-grouping of an objc diagostic in my last
patch.
llvm-svn: 183714
Fariborz Jahanian [Mon, 10 Jun 2013 23:51:51 +0000 (23:51 +0000)]
Objective-C [qoi]: Issue better warning when nsstring literal is missing
the '@'. PR16287 and // rdar://
14106083
llvm-svn: 183713
Sean Silva [Mon, 10 Jun 2013 23:48:38 +0000 (23:48 +0000)]
Fix spurious semicolons.
Apparently these macros have semicolons inside of them already.
llvm-svn: 183712
Sean Silva [Mon, 10 Jun 2013 23:44:15 +0000 (23:44 +0000)]
[yaml2obj] Initial ELF support.
Currently, only emitting the ELF header is supported (no sections or
segments).
The ELFYAML code organization is broadly similar to the COFFYAML code.
llvm-svn: 183711
Tim Northover [Mon, 10 Jun 2013 23:20:58 +0000 (23:20 +0000)]
ARM: diagnose ARM/Thumb assembly switches on CPUs only supporting one.
Some ARM CPUs only support ARM mode (ancient v4 ones, for example) and some
only support Thumb mode (M-class ones currently). This makes sure such CPUs
default to the correct mode and makes the AsmParser diagnose an attempt to
switch modes incorrectly.
rdar://
14024354
llvm-svn: 183710
Nick Lewycky [Mon, 10 Jun 2013 23:10:59 +0000 (23:10 +0000)]
Fix xemacs mode line, don't put them in .cpp files (just header files). No
functionality change.
llvm-svn: 183709
Rui Ueyama [Mon, 10 Jun 2013 22:57:49 +0000 (22:57 +0000)]
[PECOFF] Refactoring: Split FileCOFF c'tor. No functionality change.
Split FileCOFF's constructor into mainly two private methods.
One method is responsible to iterate over symbol tables, and other
method is to atomize defined atoms. This is for readability and
no changes in functionality.
Reviewers: Bigcheese
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D940
llvm-svn: 183708
Enrico Granata [Mon, 10 Jun 2013 22:39:08 +0000 (22:39 +0000)]
Adding properties to the SBBreakpoint class
llvm-svn: 183707
Enrico Granata [Mon, 10 Jun 2013 22:26:15 +0000 (22:26 +0000)]
<rdar://problem/
14101771>
Hardening the CFBitVector data formatter against failed reads
llvm-svn: 183706
Rui Ueyama [Mon, 10 Jun 2013 22:25:41 +0000 (22:25 +0000)]
[PECOFF][Writer] Set required OS version numbers.
llvm-svn: 183705
Eric Christopher [Mon, 10 Jun 2013 22:24:10 +0000 (22:24 +0000)]
Remove a few fixmes, the only work we're doing is getting the string
to return and this is done all over.
llvm-svn: 183704
Eric Christopher [Mon, 10 Jun 2013 22:24:07 +0000 (22:24 +0000)]
Fix up comment.
llvm-svn: 183703
Matt Kopec [Mon, 10 Jun 2013 22:14:47 +0000 (22:14 +0000)]
Add output of fault address on an address related crash (ie. segfault).
llvm-svn: 183701
Rui Ueyama [Mon, 10 Jun 2013 22:09:21 +0000 (22:09 +0000)]
[PECOFF] Add comments for symbols.
llvm-svn: 183700
Eli Friedman [Mon, 10 Jun 2013 22:04:49 +0000 (22:04 +0000)]
Make sure we don't emit invalid IR for StmtExprs with complex cleanups.
Fixes <rdar://problem/
14074868>.
llvm-svn: 183699
Eric Christopher [Mon, 10 Jun 2013 21:59:28 +0000 (21:59 +0000)]
Remove unused function.
llvm-svn: 183698
Adrian Prantl [Mon, 10 Jun 2013 21:36:55 +0000 (21:36 +0000)]
cleanup (address some more review comments for r183474):
- reduce default buffer size to 64, which will still be large enough to
hold any property names found in the wild.
- get rid of the /*static*/ comments.
llvm-svn: 183697
Rui Ueyama [Mon, 10 Jun 2013 21:32:44 +0000 (21:32 +0000)]
[ELF] Refactor File.h.
- Split createAtom() in lib/ReaderWriter/ELF/File.h into small methods.
- Added comments to code in other methods.
No functionality changes.
Reviewers: shankarke
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D921
llvm-svn: 183696
Eric Christopher [Mon, 10 Jun 2013 20:58:53 +0000 (20:58 +0000)]
IndentCount is only used within NDEBUG code.
llvm-svn: 183695
Reid Kleckner [Mon, 10 Jun 2013 20:51:09 +0000 (20:51 +0000)]
Use FPT::getArgTypes() instead of manually building ArrayRefs
Made significantly easier with git-clang-format.
Differential Revision: http://llvm-reviews.chandlerc.com/D947
llvm-svn: 183694
Tim Northover [Mon, 10 Jun 2013 20:43:49 +0000 (20:43 +0000)]
X86: Stop LEA64_32r doing unspeakable things to its arguments.
Previously LEA64_32r went through virtually the entire backend thinking it was
using 32-bit registers until its blissful illusions were cruelly snatched away
by MCInstLower and 64-bit equivalents were substituted at the last minute.
This patch makes it behave normally, and take 64-bit registers as sources all
the way through. Previous uses (for 32-bit arithmetic) are accommodated via
SUBREG_TO_REG instructions which make the types and classes agree properly.
llvm-svn: 183693
Rafael Espindola [Mon, 10 Jun 2013 20:32:27 +0000 (20:32 +0000)]
Add a missing 'e'.
llvm-svn: 183692
Benjamin Kramer [Mon, 10 Jun 2013 20:19:35 +0000 (20:19 +0000)]
tblgen: Assert that InstRWs doesn't grows when we don't expect it.
llvm-svn: 183690
Jordan Rose [Mon, 10 Jun 2013 19:34:30 +0000 (19:34 +0000)]
[analyzer] SATestBuild: Don't require reference results to have logs.
The Logs directory isn't used for testing, so it's filtered out ahead of
time. However, there's then no reason to include it in version control at
all. Don't error if it's not present.
llvm-svn: 183689
Richard Trieu [Mon, 10 Jun 2013 18:52:07 +0000 (18:52 +0000)]
Add a new warning, -Wlogical-not-parentheses, to -Wparentheses.
This warning triggers on the logical not of a non-boolean expression on the
left hand side of comparison. Often, the user meant to negate the comparison,
not just the left hand side of the comparison. Two notes are also emitted,
the first with a fix-it to add parentheses around the comparison, and the other
to put parenthesis around the not expression to silence the warning.
bool not_equal(int x, int y) {
return !x == y; // warn here
}
return !(x == y); // first fix-it, to negate comparison.
return (!x) == y; // second fix-it, to silence warning.
llvm-svn: 183688
Ulrich Weigand [Mon, 10 Jun 2013 17:19:43 +0000 (17:19 +0000)]
[PowerPC] Support extended sc mnemonic
A plain "sc" without argument is supposed to be treated like "sc 0"
by the assembler. This patch adds a corresponding alias.
Problem reported by Joerg Sonnenberger.
llvm-svn: 183687
Ulrich Weigand [Mon, 10 Jun 2013 17:19:15 +0000 (17:19 +0000)]
[PowerPC] Support branch mnemonics with implied CR0
The extended branch mnemonics are supposed to use an implied CR0
if there is no explicit condition register specified. This patch
adds extra variants of the mnemonics to this effect.
Problem reported by Joerg Sonnenberger.
llvm-svn: 183686
Ulrich Weigand [Mon, 10 Jun 2013 17:18:29 +0000 (17:18 +0000)]
[PowerPC] Use multiclass to generate extended branch mnemonics
This patch removes some redundancy by generating the extended branch
mnemonics via a multiclass.
No change in behaviour expected.
llvm-svn: 183685
Aaron Ballman [Mon, 10 Jun 2013 16:45:40 +0000 (16:45 +0000)]
Silencing an MSVC warning about comparing signed and unsigned values.
llvm-svn: 183682
Dmitry Vyukov [Mon, 10 Jun 2013 16:06:21 +0000 (16:06 +0000)]
tsan: fix lit test failures
llvm-svn: 183674
Dmitry Vyukov [Mon, 10 Jun 2013 15:39:28 +0000 (15:39 +0000)]
tsan: add system tests for suppressions
llvm-svn: 183673
Dmitry Vyukov [Mon, 10 Jun 2013 15:38:44 +0000 (15:38 +0000)]
tsan: allows to suppress races on global variables
llvm-svn: 183672
Rafael Espindola [Mon, 10 Jun 2013 15:37:29 +0000 (15:37 +0000)]
Remove the old IdentifyFileType now that lld was updated.
llvm-svn: 183671
Rafael Espindola [Mon, 10 Jun 2013 15:36:21 +0000 (15:36 +0000)]
Use the StringRef version of identifyFileType.
llvm-svn: 183670
Rafael Espindola [Mon, 10 Jun 2013 15:27:39 +0000 (15:27 +0000)]
Pass a StringRef to sys::identifyFileType.
llvm-svn: 183669
Ashok Thirumurthi [Mon, 10 Jun 2013 15:26:48 +0000 (15:26 +0000)]
Updated the links to Debian packages, provided a link to the blog on the nightly,
and provided download links for incremental 3.4 packages for 32/64-bit editions.
llvm-svn: 183668
Rafael Espindola [Mon, 10 Jun 2013 15:22:18 +0000 (15:22 +0000)]
Fix an out of bounds array access.
We were looking at Magic[5] without checking Length. Since this path would not
return unless Length >= 18 anyway, just move the >= 18 check up.
llvm-svn: 183666
Rafael Espindola [Mon, 10 Jun 2013 14:56:16 +0000 (14:56 +0000)]
Update for current naming conventions.
I will change identifyFileType to use a StringRef in the next patch.
llvm-svn: 183664
Alexander Potapenko [Mon, 10 Jun 2013 14:47:43 +0000 (14:47 +0000)]
[ASan] Fix unset-insert-libraries-on-exec.cc on 32-bit Darwin.
The test used to execute a 64-bit /bin/bash binary and preload a 32-bit dynamic library into it.
Now the arch-specific version of echo-env is executed instead.
llvm-svn: 183662
Rafael Espindola [Mon, 10 Jun 2013 14:27:58 +0000 (14:27 +0000)]
Use early returns.
No functionality change.
llvm-svn: 183659
Amaury de la Vieuville [Mon, 10 Jun 2013 14:17:15 +0000 (14:17 +0000)]
Fix misleading comments in ARMAsmParser
llvm-svn: 183657
Amaury de la Vieuville [Mon, 10 Jun 2013 14:17:08 +0000 (14:17 +0000)]
ARM: ISB cannot be passed the same options as DMB
ISB should only accepts full system sync, other options are reserved
llvm-svn: 183656
Alexey Samsonov [Mon, 10 Jun 2013 14:17:08 +0000 (14:17 +0000)]
[ASan] mark ioctl test as xfailing on darwin. remove redundant semicolons
llvm-svn: 183655
Reid Kleckner [Mon, 10 Jun 2013 14:16:26 +0000 (14:16 +0000)]
[clang-format] Don't flash an ugly cmd prompt in Vim on Windows
Reviewers: klimek
Differential Revision: http://llvm-reviews.chandlerc.com/D941
llvm-svn: 183654
Hongbin Zheng [Mon, 10 Jun 2013 13:55:34 +0000 (13:55 +0000)]
TempScopInfo: Add code to build the scalar dependences.
llvm-svn: 183653
Justin Holewinski [Mon, 10 Jun 2013 13:29:47 +0000 (13:29 +0000)]
[NVPTX] Remove old CONST_NOT_GEN address space that is not being used anymore and causes constants to be emitted in the global address space
llvm-svn: 183652
Kostya Serebryany [Mon, 10 Jun 2013 13:28:33 +0000 (13:28 +0000)]
[asan] fix Android build (mark asan_malloc_usable_size as an interface function)
llvm-svn: 183651
Duncan Sands [Mon, 10 Jun 2013 12:09:30 +0000 (12:09 +0000)]
Avoid warnings about unused parameters that tend to come up a lot when
building outside projects with a different compiler than that used to build
LLVM itself (eg switching between gcc and clang).
llvm-svn: 183650
Dmitry Vyukov [Mon, 10 Jun 2013 11:35:08 +0000 (11:35 +0000)]
tsan: disable getaddrinfo() interceptor for tsan (causes recursion)
llvm-svn: 183649
Dmitry Vyukov [Mon, 10 Jun 2013 11:11:29 +0000 (11:11 +0000)]
tsan: fix merge bug
llvm-svn: 183648
Kostya Serebryany [Mon, 10 Jun 2013 10:46:27 +0000 (10:46 +0000)]
[asan] fix the bug with memalign and malloc_usable_size (code.google.com/p/address-sanitizer/issues/detail?id=193); also fix lint
llvm-svn: 183647
Dmitry Vyukov [Mon, 10 Jun 2013 10:30:54 +0000 (10:30 +0000)]
tsan: fix windows crash (incorrect stack boundaries)
llvm-svn: 183646
Dmitry Vyukov [Mon, 10 Jun 2013 10:30:19 +0000 (10:30 +0000)]
tsan: fix old gcc warnings
llvm-svn: 183645
Dmitry Vyukov [Mon, 10 Jun 2013 10:02:02 +0000 (10:02 +0000)]
tsan: fix windows mingw build
llvm-svn: 183644
Dmitry Vyukov [Mon, 10 Jun 2013 10:01:31 +0000 (10:01 +0000)]
tsan: more detailed trace for atomic operations (include address and memory ordering)
llvm-svn: 183643
Dmitry Vyukov [Mon, 10 Jun 2013 10:00:54 +0000 (10:00 +0000)]
tsan: fix lint warnings
llvm-svn: 183642
Alexey Samsonov [Mon, 10 Jun 2013 09:09:40 +0000 (09:09 +0000)]
[MSan] don't add msan unit tests to check-msan command if libcxx is not checked out
llvm-svn: 183641
Manuel Klimek [Mon, 10 Jun 2013 08:52:15 +0000 (08:52 +0000)]
Fixes the comment for hasDeclaration.
llvm-svn: 183640
Larisse Voufo [Mon, 10 Jun 2013 08:25:58 +0000 (08:25 +0000)]
Support for contextual conversion tweaks (N3323) was added, as Revision 183637
llvm-svn: 183639
Alexey Samsonov [Mon, 10 Jun 2013 07:55:12 +0000 (07:55 +0000)]
[ASan] don't use -m{32,64} flag in test case, as it can be run in both 32- and 64-bit modes
llvm-svn: 183638
Larisse Voufo [Mon, 10 Jun 2013 06:50:24 +0000 (06:50 +0000)]
reverted test
llvm-svn: 183637
Larisse Voufo [Mon, 10 Jun 2013 06:28:37 +0000 (06:28 +0000)]
test
llvm-svn: 183636
Hongbin Zheng [Mon, 10 Jun 2013 02:52:30 +0000 (02:52 +0000)]
Refactor: Move the IRAccess building code to a new function.
llvm-svn: 183635
JF Bastien [Mon, 10 Jun 2013 00:35:57 +0000 (00:35 +0000)]
Add test for ARM FastISel load/store register classes
r183624 fixed an issue that was tested indirectly. Test it directly with this new test.
llvm-svn: 183634
Reed Kotler [Sun, 9 Jun 2013 23:23:46 +0000 (23:23 +0000)]
Fix a regression I introduced when I expanded the complex pseudos in
the Mips16 port. A few of the psuedos could either take signed
or unsigned arguments and I did not distinguish the case and improperly
rejected some valid cases that the assembler had previously accepted
when they were pure pseudos that expanded as assembly instructions.
llvm-svn: 183633
Reid Kleckner [Sun, 9 Jun 2013 16:56:53 +0000 (16:56 +0000)]
[CodeGen] Make CGCleanup.h include what it now uses
Also move CGCleanup.h to the top of CGCleanup.cpp to verify that
CGCleanup.h really includes what it needs.
llvm-svn: 183632
Reid Kleckner [Sun, 9 Jun 2013 16:45:02 +0000 (16:45 +0000)]
[CodeGen] Move EHScopeStack to CGCleanup.h from CodeGenFunction.h
No functionality change. CGCleanup.cpp provides the implementation for
EHScopeStack, so it seems more consistent to place the class definition
in CGCleanup.h.
This should also help solve a header ordering problem that I have.
llvm-svn: 183631
Benjamin Kramer [Sun, 9 Jun 2013 15:20:23 +0000 (15:20 +0000)]
tblgen: always lookup values from the original vector as it could be grown under our feet.
PR16281.
llvm-svn: 183630