diff options
author | Dylan McKay <me@dylanmckay.io> | 2018-11-09 17:15:06 +0000 |
---|---|---|
committer | Dylan McKay <me@dylanmckay.io> | 2018-11-09 17:15:06 +0000 |
commit | 21e7f5e24eb1fef1676d70eb013b1346482a7bac (patch) | |
tree | d92b3014d66dbe420eef3d71041252365f81e45c /lldb/packages/Python/lldbsuite/test/python_api | |
parent | 96d37cf5374761e0f07f1ad064798e92d04786d8 (diff) | |
download | bcm5719-llvm-21e7f5e24eb1fef1676d70eb013b1346482a7bac.tar.gz bcm5719-llvm-21e7f5e24eb1fef1676d70eb013b1346482a7bac.zip |
Use the correct address space when emitting the ctor function list
This patch modifies clang so that, if compiling for a target that
explicitly specifies a nonzero program memory address space, the
constructor list global will have the same address space as the
functions it contains.
AVR is the only in-tree backend which has a nonzero program memory
address space.
Without this, the IR verifier would always fail if a constructor
was used on a Harvard architecture backend.
This has no functional change to any in-tree backends except AVR.
llvm-svn: 346520
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions