summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Take DW_AT_comp_dir from $PWD when it's present and starts with a '/'. This isNick Lewycky2011-10-211-0/+3
| | | | | | | closer to what GCC does, except that GCC also checks that the inodes for $PWD and '.' match. llvm-svn: 142633
* Macro metaprogramming for builtin types.John McCall2011-10-181-9/+5
| | | | llvm-svn: 142420
* Add a new placeholder type to represent "unbridged"John McCall2011-10-171-0/+2
| | | | | | | | casts in ARC. No semantic analysis yet. llvm-svn: 142208
* Provide half floating point support as a storage only type.Anton Korobeynikov2011-10-141-0/+1
| | | | | | Lack of half FP was a regression compared to llvm-gcc. llvm-svn: 142016
* Simplify code to avoid a useless string copy.Benjamin Kramer2011-10-141-6/+4
| | | | llvm-svn: 141970
* Upgrade to PathV2.Benjamin Kramer2011-10-141-5/+5
| | | | llvm-svn: 141969
* Add parens to pacify GCC.Benjamin Kramer2011-10-141-2/+2
| | | | llvm-svn: 141968
* Recommit:Eric Christopher2011-10-131-84/+74
| | | | | | | | | | | | | | | Start handling debug line and scope information better: Migrate most of the location setting within the larger API in CGDebugInfo and update a lot of callers. Remove the existing file/scope change machinery in UpdateLineDirectiveRegion and replace it with DILexicalBlockFile usage. Finishes off the rest of rdar://10246360 after fixing a few bugs that were exposed in gdb testsuite testing. llvm-svn: 141893
* Revert file/scope handling patches. gdb testing revealed a couple of bugs.Eric Christopher2011-10-121-73/+83
| | | | llvm-svn: 141796
* Remember to set the location in EmitGlobalVariable to the current declEric Christopher2011-10-121-0/+2
| | | | | | if we're going to delete the setLocation as we did in 141732. llvm-svn: 141762
* Start handling debug line and scope information better:Eric Christopher2011-10-111-83/+71
| | | | | | | | | | | Migrate most of the location setting within the larger API in CGDebugInfo and update a lot of callers. Remove the existing file/scope change machinery in UpdateLineDirectiveRegion and replace it with DILexicalBlockFile usage. Finishes off the rest of rdar://10246360 llvm-svn: 141732
* 80-column and tab cleanup.Eric Christopher2011-10-111-13/+20
| | | | llvm-svn: 141731
* Reorder this to make it easier to add more changes for a location set.Eric Christopher2011-10-111-2/+4
| | | | llvm-svn: 141730
* Constant expression evaluation refactoring:Richard Smith2011-10-101-10/+14
| | | | | | | | | | | - Remodel Expr::EvaluateAsInt to behave like the other EvaluateAs* functions, and add Expr::EvaluateKnownConstInt to capture the current fold-or-assert behaviour. - Factor out evaluation of bitfield bit widths. - Fix a few places which would evaluate an expression twice: once to determine whether it is a constant expression, then again to get the value. llvm-svn: 141561
* Support for C1x _Atomic specifier (see testcase). This is primarily being ↵Eli Friedman2011-10-061-0/+10
| | | | | | | | committed at the moment to help support C++0x <atomic>, but it should be a solid base for implementing the full specification of C1x _Atomic. Thanks to Jeffrey Yasskin for the thorough review! llvm-svn: 141330
* When constructing debug information for synthesized variables for theEric Christopher2011-10-061-3/+8
| | | | | | | | | | non-fragile ABI we may not be able to lay out the type and the debugger would ignore us even if we did put in the offset. Go ahead and just put any value there and don't look up the offset since it may not exist. rdar://10210157 llvm-svn: 141261
* Reformat comment.Eric Christopher2011-10-061-6/+6
| | | | llvm-svn: 141260
* Allow getting all source locations of selector identifiers in a ObjCMethodDecl.Argyrios Kyrtzidis2011-10-031-1/+1
| | | | | | | | | | | | | Instead of always storing all source locations for the selector identifiers we check whether all the identifiers are in a "standard" position; "standard" position is -Immediately before the arguments: -(id)first:(int)x second:(int)y; -With a space between the arguments: -(id)first: (int)x second: (int)y; -For nullary selectors, immediately before ';': -(void)release; In such cases we infer the locations instead of storing them. llvm-svn: 140989
* Change "Regions" to be "LexicalBlocks" since that's what theyEric Christopher2011-09-291-33/+33
| | | | | | correspond to. llvm-svn: 140740
* Rename EmitStopPoint in CGDebugInfo to EmitLocation. "stop points" don'tEric Christopher2011-09-291-2/+4
| | | | | | exist anymore. llvm-svn: 140739
* Reorder functions in the file.Eric Christopher2011-09-291-31/+30
| | | | llvm-svn: 140738
* Call UpdateLineDirectiveRegion every time we want to emit a stopEric Christopher2011-09-291-0/+4
| | | | | | | point in the code. Ensures that we don't miss any places and the check is reasonably cheap. llvm-svn: 140737
* Update comment.Eric Christopher2011-09-291-1/+2
| | | | llvm-svn: 140736
* Update comments.Eric Christopher2011-09-261-3/+3
| | | | llvm-svn: 140531
* Create a VTableContext class and start moving CodeGenVTables methods to itPeter Collingbourne2011-09-261-2/+3
| | | | llvm-svn: 140502
* Rename Diagnostic to DiagnosticsEngine as per issue 5397David Blaikie2011-09-251-1/+1
| | | | llvm-svn: 140478
* Removing a bunch of dead returns/breaks after llvm_unreachables.David Blaikie2011-09-231-4/+0
| | | | llvm-svn: 140407
* Switch assert(0/false) llvm_unreachable.David Blaikie2011-09-231-5/+5
| | | | llvm-svn: 140367
* Tighten check to match an ivar with corresponding property by using ↵Devang Patel2011-09-191-4/+8
| | | | | | | | ObjCImplementationDecl. Radar 10139522 - Part 1. llvm-svn: 140038
* Emit debug info for c++0x nullptr.Devang Patel2011-09-141-2/+2
| | | | llvm-svn: 139752
* Formatting.Eric Christopher2011-09-141-11/+9
| | | | llvm-svn: 139681
* Fix typo.Eric Christopher2011-09-131-1/+1
| | | | llvm-svn: 139668
* By popular demand, enumerate all builtin types!Devang Patel2011-09-121-2/+14
| | | | llvm-svn: 139521
* Add an assert so that new builtins do not sneak without proper debug info.Devang Patel2011-09-121-0/+2
| | | | llvm-svn: 139514
* Fix debug info encodings for char16_t and char32_t.Devang Patel2011-09-121-2/+2
| | | | llvm-svn: 139502
* Emit debug info for wchar_t.Devang Patel2011-09-101-0/+4
| | | | llvm-svn: 139443
* Extend the ASTContext constructor to delay the initialization ofDouglas Gregor2011-09-021-3/+3
| | | | | | | | builtin types (When requested). This is another step toward making ASTUnit build the ASTContext as needed when loading an AST file, rather than doing so after the fact. No actual functionality change (yet). llvm-svn: 138985
* Don't try to emit unsupported templated friend declarations. They're unsupportedNick Lewycky2011-09-011-2/+3
| | | | | | | and may very well be dependent-types, triggering an assertion in debug info codegen. llvm-svn: 138970
* Mechanically rename SourceManager::getInstantiationLoc andChandler Carruth2011-07-251-2/+2
| | | | | | | | FullSourceLoc::getInstantiationLoc to ...::getExpansionLoc. This is part of the API and documentation update from 'instantiation' as the term for macros to 'expansion'. llvm-svn: 135914
* remove unneeded llvm:: namespace qualifiers on some core types now that ↵Chris Lattner2011-07-231-59/+59
| | | | | | | | LLVM.h imports them into the clang namespace. llvm-svn: 135852
* Simplify.Devang Patel2011-07-191-6/+2
| | | | llvm-svn: 135456
* Check column number also.Devang Patel2011-07-181-3/+5
| | | | llvm-svn: 135437
* de-constify llvm::Type, patch by David Blaikie!Chris Lattner2011-07-181-2/+2
| | | | llvm-svn: 135370
* Emit debug info for extended vectors.Devang Patel2011-07-131-3/+0
| | | | llvm-svn: 135083
* Fix struct member's scope. Patch by Xi Wang.Devang Patel2011-06-241-22/+25
| | | | llvm-svn: 133829
* Automatic Reference Counting.John McCall2011-06-151-0/+1
| | | | | | | | | | Language-design credit goes to a lot of people, but I particularly want to single out Blaine Garst and Patrick Beard for their contributions. Compiler implementation credit goes to Argyrios, Doug, Fariborz, and myself, in no particular order. llvm-svn: 133103
* Simplify.Devang Patel2011-06-031-4/+6
| | | | llvm-svn: 132560
* Fix typedef's context.Devang Patel2011-06-031-2/+3
| | | | llvm-svn: 132557
* Robustify objc method type description (subroutine type) by walking ↵Devang Patel2011-05-311-11/+6
| | | | | | parameters directly. llvm-svn: 132368
* List objective-c ineterfaces as public types in dwarf debug info output.Devang Patel2011-05-311-0/+22
| | | | llvm-svn: 132361
OpenPOWER on IntegriCloud