[PATCH] D30724: Dont emit Mapping symbols for sections that contain only data.

Shankar Easwaran via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 28 09:21:13 PDT 2017


shankare reopened this revision.
shankare added a comment.
This revision is now accepted and ready to land.

The changes are causing a problem as tests in lld have been written with the assumption that objdump will be able to dump data inside of a text section. I am hence uploading a new patch that checks for section permissions as well. Please let me know how you want to go about it ?

http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap/builds/1108

  .text
    .word patatino(target1)
    patatino:

for llvm-objdump to figure out there is data being referenced in a 'Code' section, the permissions would need to be checked.


Repository:
  rL LLVM

https://reviews.llvm.org/D30724





More information about the llvm-commits mailing list