| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
after the DIE creation, we construct the context first.
This touches creation of namespaces and global variables. The purpose is to
handle all DIE creations similarly: constructs the context first, then creates
the DIE and immediately adds the DIE to its parent.
We use createAndAddDIE to wrap around "new DIE(".
llvm-svn: 193589
|
| |
|
|
| |
llvm-svn: 193588
|
| |
|
|
|
|
| |
to turn on/off the symbolization
llvm-svn: 193587
|
| |
|
|
| |
llvm-svn: 193586
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Enable this for the following flavors
a) core
b) gnu
c) darwin
Its disabled for the flavor PECOFF. Convenient markers are added with FIXME
comments in the Driver that would be removed and code removed from each flavor.
llvm-svn: 193585
|
| |
|
|
| |
llvm-svn: 193584
|
| |
|
|
|
|
| |
[[gnu::no_address_safety_analysis]].
llvm-svn: 193583
|
| |
|
|
|
|
| |
the difference.
llvm-svn: 193582
|
| |
|
|
| |
llvm-svn: 193581
|
| |
|
|
|
|
| |
require ARM in targets.
llvm-svn: 193580
|
| |
|
|
| |
llvm-svn: 193579
|
| |
|
|
| |
llvm-svn: 193578
|
| |
|
|
|
|
|
|
|
| |
record what is *actually* going on here as the comments existing in the
code are confusing at best, and in places outright misleading.
The API is even more misleading. Yay.
llvm-svn: 193577
|
| |
|
|
| |
llvm-svn: 193576
|
| |
|
|
|
|
| |
error: conversion from `const uint8_t*' to non-scalar type `llvm::ArrayRef<unsigned char>' requested
llvm-svn: 193575
|
| |
|
|
|
|
|
|
|
| |
Updated a test case that assumed that <2 x double> would vectorize to use
<4 x float>.
radar://15338229
llvm-svn: 193574
|
| |
|
|
|
|
|
|
|
| |
By vectorizing a series of srl, or, ... instructions we have obfuscated the
intention so much that the backend does not know how to fold this code away.
radar://15336950
llvm-svn: 193573
|
| |
|
|
|
|
|
|
|
| |
No test case, because with the current cost model we don't see a difference.
An upcoming ARM memory cost model change will expose and test this bug.
radar://15332579
llvm-svn: 193572
|
| |
|
|
| |
llvm-svn: 193571
|
| |
|
|
| |
llvm-svn: 193570
|
| |
|
|
|
|
|
| |
ELF. They can overlap with the other symbols, e.g. if a source file
"foo.c" contains a function "foo" with a static variable "c".
llvm-svn: 193569
|
| |
|
|
|
|
|
|
|
| |
This commit ensures DIEs are constructed within a compile unit and
immediately added to their parents.
Reviewed off-list by Eric.
llvm-svn: 193568
|
| |
|
|
|
|
|
|
|
|
|
| |
More patches will be submitted to convert "new DIE(" to use createAddAndDIE in
DwarfCompileUnit.cpp. This will simplify implementation of addDIEEntry where
we have to decide between ref4 and ref_addr, because DIEs that can be shared
across CU will be added to a CU already.
Reviewed off-list by Eric.
llvm-svn: 193567
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
It wraps around "new DIE(" and handles the bookkeeping part of the newly-created
DIE. It adds the DIE to its parent, and calls insertDIE if necessary. It makes
sure that bookkeeping is done at the earliest time and we should not see
parentless DIEs if all constructions of DIEs go through this helper function.
Later on, we can use an allocator for DIE allocation, and will only need to
change createAndAddDIE instead of modifying all the "new DIE(".
Reviewed off-list by Eric.
llvm-svn: 193566
|
| |
|
|
|
|
|
|
|
| |
__ImageBase is an absolute symbol whose address is the same as the image base
address. What we did before this patch was to create __ImageBase symbol as a
symbol whose *contents* (not location) is the image base address, which is
clearly wrong.
llvm-svn: 193565
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This commit reimplements the TypeImpl class (the class that backs SBType) in terms of a static,dynamic type pair
This is useful for those cases when the dynamic type of an ObjC variable can only be obtained in terms of an "hollow" type with no ivars
In that case, we could either go with the static type (+iVar information) or with the dynamic type (+inheritance chain)
With the new TypeImpl implementation, we try to combine these two sources of information in order to extract as much information as possible
This should improve the functionality of tools that are using the SBType API to do extensive dynamic type inspection
llvm-svn: 193564
|
| |
|
|
|
|
|
| |
Complicated CU-DIE-specific logic in the latter was never used,
and it makes sense to have safety checks for broken dwarf in the former.
llvm-svn: 193563
|
| |
|
|
| |
llvm-svn: 193562
|
| |
|
|
| |
llvm-svn: 193561
|
| |
|
|
|
|
| |
DWARFDIE::extractFast() interface. No functionality change.
llvm-svn: 193560
|
| |
|
|
|
|
|
| |
llvm-mcmarkup, obj2yaml and yaml2obj were missing from the substitutions list,
causing the test suite to fail in a sandboxed environment.
llvm-svn: 193559
|
| |
|
|
| |
llvm-svn: 193558
|
| |
|
|
| |
llvm-svn: 193557
|
| |
|
|
|
|
|
| |
This change has no effect now, but will be needed to emit BSS atoms
to .bss section.
llvm-svn: 193556
|
| |
|
|
|
|
| |
function size
llvm-svn: 193555
|
| |
|
|
|
|
|
|
| |
This reverts commit r193528 (and fixes).
It broke Chandler's setup.
llvm-svn: 193554
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Use DWARF4 table of form classes to fetch attributes from DIE
in a more consistent way. This shouldn't change the functionality and
serves as a refactoring for upcoming change: DW_AT_high_pc has different
semantics depending on its form class.
Reviewers: dblaikie, echristo
Reviewed By: echristo
CC: echristo, llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1961
llvm-svn: 193553
|
| |
|
|
| |
llvm-svn: 193552
|
| |
|
|
| |
llvm-svn: 193551
|
| |
|
|
| |
llvm-svn: 193550
|
| |
|
|
|
|
|
|
|
|
|
|
| |
requires ! feature
The purpose of this is to allow (for instance) the module map for /usr/include
to exclude <tgmath.h> and <complex.h> when building in C++ (these headers are
instead provided by the C++ standard library in this case, and the glibc C
<tgmath.h> header would otherwise try to include <complex.h>, resulting in a
module cycle).
llvm-svn: 193549
|
| |
|
|
| |
llvm-svn: 193548
|
| |
|
|
| |
llvm-svn: 193547
|
| |
|
|
| |
llvm-svn: 193546
|
| |
|
|
|
|
| |
statement (after a case label, if, etc). Patch by Olivier Goffart!
llvm-svn: 193545
|
| |
|
|
| |
llvm-svn: 193544
|
| |
|
|
| |
llvm-svn: 193543
|
| |
|
|
| |
llvm-svn: 193542
|
| |
|
|
| |
llvm-svn: 193541
|
| |
|
|
|
|
| |
No functionality change.
llvm-svn: 193540
|