wolfgangp created this revision.
wolfgangp added reviewers: aprantl, JDevlieghere, dblaikie.
One of the clang tests in debuginfo-tests (apple-accel.cpp) insists on checking
for the existence of the __debug_ranges section (it requires darwin) even for
trivial code which doesn't need any range lis
aprantl accepted this revision.
aprantl added inline comments.
This revision is now accepted and ready to land.
Comment at: apple-accel.cpp:11
+__attribute__((section("1,__text_foo"))) void foo() {}
int main (int argc, char const *argv[]) { return argc; }
A co
This revision was automatically updated to reflect the committed changes.
Closed by commit rL338437: [DWARF] Do not create a .debug_ranges section when
no ranges are needed. (authored by wolfgangp, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D50089?vs=158328&id=158378#toc