diff options
| author | Dylan McKay <me@dylanmckay.io> | 2018-10-11 12:49:50 +0000 |
|---|---|---|
| committer | Dylan McKay <me@dylanmckay.io> | 2018-10-11 12:49:50 +0000 |
| commit | e48f27a0b1df01cb005dedbfe1b5de3146385f40 (patch) | |
| tree | c25067a54c4f3443205a4d00bd6ffbad3a3d450a /llvm/test/tools/llvm-objcopy/binary-remove-middle.test | |
| parent | 8e5328b6f070e3ec2dfadfa99dc34f26f569e528 (diff) | |
| download | bcm5719-llvm-e48f27a0b1df01cb005dedbfe1b5de3146385f40.tar.gz bcm5719-llvm-e48f27a0b1df01cb005dedbfe1b5de3146385f40.zip | |
Generalize an IR verifier check to work with non-zero program address spaces
This commit modifies an existing IR verifier check that
assumes all functions will be located in the default address
space 0.
Rather than using the default paramater value getPointerTo(AddrSpace=0),
explicitly specify the program memory address space from the data layout.
This only affects targets that specify a nonzero address space
in their data layouts. The only in-tree target that does this
is AVR.
llvm-svn: 344243
Diffstat (limited to 'llvm/test/tools/llvm-objcopy/binary-remove-middle.test')
0 files changed, 0 insertions, 0 deletions

